(set-background-color "gray20")
(set-foreground-color "wheat")

(tool-bar-mode -1)
(scroll-bar-mode -1)
(menu-bar-mode -1)

(defun compile-file ()
(interactive)
(compile (format "g++ -o %s %s -g -lm -Wall" (file-name-sans-extension (buffer-name))(buffer-name))))
(global-set-key (kbd "<f9>") 'compile-file)
(global-set-key (kbd "<f7>") 'gud-gdb)

(setq default-tab-width 4)
(setq c-basic-offset 4)
(c-set-offset 'substatement-open 0)

(blink-cursor-mode -1)

(setq kill-ring-max 200)

(show-paren-mode 1)

最新文章

  1. 项目自动化建构工具gradle 入门4——javaWeb在浏览器中显示helloWorld
  2. GWAS Simulation
  3. React Native也正式发布了
  4. jquery-drawsvg — HTML5轻量级插件
  5. [原]quick2.25精灵变灰
  6. linux 不能用clock 计算sleep的时间
  7. hdwiki 在IIS 下的伪静态
  8. vsphere 出现“在主机的当前连接状况下不允许执行该操作”
  9. PyQt4--QPushButton阵列
  10. 自定义UIView动画效果
  11. (zz)Linux下Gcc生成和使用静态库和动态库详解
  12. dict、defaultdict 和 OrderedDict 比较
  13. 基于jQuery实现点击列表加载更多效果
  14. SWD通讯
  15. weblogic系列漏洞整理 -- 4. weblogic XMLDecoder 反序列化漏洞(CVE-2017-10271、CVE-2017-3506)
  16. 【Selenium-WebDriver问题篇】Selenium实现元素的拖拽(java版)(转)
  17. 2010-2011 ACM-ICPC, NEERC, Moscow Subregional Contest Problem J. Joke 水题
  18. testng入门教程15数据驱动
  19. webpack项目在开发环境中使用静态css文件
  20. C++ const 和static的总结以及使用

热门文章

  1. Java集合源码学习(三)LinkedList分析
  2. 公众号开发——测试工具【ngrok】
  3. 苹果开发者账号申请时报错提示错误:Legal Entity Name
  4. 【转】JQuery插件ajaxFileUpload 异步上传文件(PHP版)
  5. C++杂记
  6. ASP.NET Web Api 安全性(转载)
  7. Mongo DB Study: first face with mongo DB
  8. WMSYS.WM_CONCAT 函數的用法
  9. CentOS版本选择说明
  10. Oracle 创建/删除 表空间、用户、授权