emacs

来源:互联网 发布:linux shell 编辑:程序博客网 时间:2024/05/29 19:49

emacs24 使用教程笔记

~/.emacs中的内容是,主要是显示行数和tab为4个空格

(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. '(ansi-color-names-vector ["black" "#d55e00" "#009e73" "#f8ec59" "#0072b2" "#cc79a7" "#56b4e9" "white"]) '(custom-enabled-themes (quote (deeper-blue))))(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. ) ;; LOAD_PATH (add-to-list 'load-path' "~/.emacs.d/site-lisp")  (require 'linum) (setq linum-format "%3d") ; (add-hook 'find-file-hooks (lambda() (linum-mode 1))) ;; tab and space ;; when true, emacs use mixture of tab and space to achieve offset (setq-default indent-tabs-mode nil) ;; control length used to offset. (setq-default c-basic-offset 4) ;; control how emacs explain TAB. (setq-default tab-width 4) 


其他的el是需要下载的

0 0
原创粉丝点击