考场必记8行

(global-set-key (kbd "RET") 'newline-and-indent)//换行
(global-set-key (kbd "C-a") 'mark-whole-buffer)//Ctrl-A全选
(set-background-color "grey15")//背景颜色
(set-foreground-color "grey")//字体颜色 (setq default-cursor-type 'bar)//设置光标为条状
(setq c-basic-offset 2)//设置tab为两个空格的宽度
(setq c-default-style "awk")//设置c++编译颜色风格 (set-frame-parameter (selected-frame) 'alpha (list 85 50))//设置屏幕透明

使用这些配置之后,打开任意一个文件,你的emacs会变成这个样子



其实许多选项都可以在\(emacs\)内部解决问题

关掉一开始烦人的显示屏

看到下面高亮的字没,勾掉右边那个框框,然后点下左边的字

显示括号匹配

CUA 撤销/剪切/复制/粘贴什么的就可以用了

光标停止闪烁

不然晃眼睛

隐藏上方并没有什么用的工具栏

设置字体



显示不出??不重要啊,把已有的字体调大就可以啦,舒服一些

记得保存

然后你的配置就会多上下面这一大段东西

(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-mode nil)
'(cua-mode t nil (cua-base))
'(inhibit-startup-screen t)
'(show-paren-mode t)
'(tool-bar-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "Ubuntu Mono" :foundry "DAMA" :slant normal :weight normal :height 143 :width normal)))))

省了一大段要背的东西很好不是么

最新文章

  1. 升级Dell的R810固件版本
  2. clean之后R文件消失
  3. 数据导入读取read.table函数详解,如何读取不规则的数据(fill=T)
  4. Java性能优化权威指南-读书笔记(二)-JVM性能调优-概述
  5. c++ 一个类使用另外一个类的变量或方法
  6. JqueryEasyUI 增加选项卡
  7. Eval()和DataBinder Eval(Container DataItem,)的区别及用法
  8. PHP问题Parse error: syntax error, unexpected end of file in
  9. iOS开发之Runtime函数
  10. GridView添加事件监听和常用属性解析
  11. iOS中 Swift初级入门学习(三)
  12. 【题解】Luogu P4121 [WC2005]双面棋盘
  13. day27 多继承 super 详细用法
  14. ECharts公共组件:title详解、 tooltip详解、toolbox详解、legend详解、dataZoom详解、visualMap全解
  15. typescript接口的概念 以及属性类型接口
  16. 20155206赵飞 基于《Arm试验箱的国密算法应用》课程设计个人报告
  17. Java异常的优势与缺陷,及其处理原则
  18. English trip V1 - 8.What's in My Bag? 我的包里面有什么? Teacher:Corrine Key: plular(复数) and singular(单数)
  19. POI2010题解
  20. 编写一个程序,将 a.txt 文件中的单词与 b.txt 文件中的单词交替合并到 c.txt 文件中,a.txt 文件中的单词用回车符分隔,b.txt 文件中用回车或空格进行分隔。

热门文章

  1. 你知道JQuery中的事件冒泡吗,他是怎么执行的,如何来停止冒泡事件?
  2. mongodb导入全栈商城的goods和users数据
  3. nodejs--http
  4. 消费滚动滴log日志文件(flume监听,kafka消费,zookeeper协同)
  5. 相亲数--Python
  6. HDU暑假多校第八场G-Card Game
  7. Verilog 初级入门概念
  8. 【JDK配置原创】JDK(JRE)环境变量配置原理 --费元星
  9. laravel5.5jwt-auth的使用
  10. 现代web开发需要学习的15大技术