;;tab and space;;when true,emacs use mixture of tab and space to archieve(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) ;;setup line number(g…
(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. '(tool-ba…
windows ~/.emacs (when (>= emacs-major-version 24) (require 'package) (add-to-list 'package-archives ;; '("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable '("melpa" . "http://m…
因为经常改变工作环境,所以在这里记录一下我的.vimrc文件和.emacs文件的内容. vimrc的配置文件,主要是设置语法高亮,和tab键的宽度,个人喜欢设置为4个空格的分量. " set tab width set tabstop=4 set softtabstop=4 set shiftwidth=4 " set expandtab set expandtab set tags=./tags highlight Search ctermbg=darkblue color elfl…