在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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-08-10
  • 2021-11-14
猜你喜欢
  • 2021-11-06
  • 2022-01-20
  • 2022-02-23
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案