我的emacs配置

2021-08-25 15:07:29 字數 385 閱讀 7144

linux系統中emacs還是有它的好處的,之前我也覺得emacs是個怪胎,但發現只要對emacs進行一定的配置,還是可以用的。

最最重要的就是要徹底顛覆emacs原來的熱鍵設定,直接有乙個ergoemacs包可以實現這個,上面的圖就是安裝好ergoemacs以後的熱鍵圖。除了圖裡面的ctrl+s, ctrl+o, ctrl+n這些windows中常用的熱鍵都支援。

然後我自己加入了熱鍵的定義,alt+3是recent edited file list, alt+4是buffers list。

對程式語言的支援主要是c和python,c和python中都是ctrl+c兩次是編譯。c中要自己寫乙個makefile,python是執行當前的script。

其他的還有一些功能稍微看看配置就明白了。

我的Emacs配置

乙個snippet外掛程式可以自定義模板,http code.google.com p yasnippet add to list load path d lvan emacs plugin yasnippet 0.6.1c require yasnippet yas initialize yas ...

我的emacs配置部分

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 g...

我的第乙份 emacs 配置

emacs.d init.el 一開啟就起用 org 模式。setq default major mode org mode add to list auto mode alist org org mode 語法高亮 global font lock mode t 以 y n代表 yes no fs...