在Linux上面对VIM编辑器的格式的设置通常可以提升工作效率,下面对工作机器上的.vimrc文件的内容进行一总结,以备后续的查询
set smarttab set tabstop=4 set shiftwidth=4 set expantab set termencoding=utf-8 set encoding=utf-8 set number "set foldmethod=indent "set foldlevel=99 call pathogen#runtime_append_all_bundles() syntax on filetype off filetype plugin on filetype plugin indent on map <leader>td <Plug>TaskList map <leader>g :GunToggle<CR> let g:pep8_map='<leader>8' au FileType python set omnifunc=pythoncomplete#Complete let g:SuperTabDefaultCompletionType = "context" set completeopt=menuone,longest,preview set fileencoding=utf-8,GBK