VIM设置

python 设置

set nu
filetype plugin indent on
autocmd FileType python setlocal et sta sw=2 sts=4
autocmd FileType python setlocal foldmethod=indent
set foldlevel=99
"开启语法高亮 syntax on ""依文件类型设置自动缩进 filetype indent plugin on "显示当前的行号列号:
set ruler
""在状态栏显示正在输入的命令
set showcmd

参考
http://linux-wiki.cn/wiki/%E7%94%A8Vim%E7%BC%96%E7%A8%8B%E2%80%94%E2%80%94%E9%85%8D%E7%BD%AE%E4%B8%8E%E6%8A%80%E5%B7%A7

你可能感兴趣的:(python,vim)