1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00
Files
.vim/ftplugin/python/common.vim
gryf 1560333f72 Separated filetype specific settings into ftplugin directory,
added pydoc plugin
added surround plugin instead of annoying (in the end) delimitMate plugin.
removed some experimental files with colors
added jythongold folding for python
added rst snippets
added tmux configuration filetype
added pylint compiler
updated pyflakes
2010-07-16 22:10:12 +02:00

28 lines
601 B
VimL

set cinkeys-=0#
set expandtab
set foldlevel=100
set foldmethod=indent
set indentkeys-=0#
set list
set noautoindent
set shiftwidth=4
set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with
set smarttab
set softtabstop=4
set tabstop=4
set textwidth=78
inoremap # X<BS>#
"set ofu=syntaxcomplete#Complete
let g:pylint_onwrite = 0 " I don't want to run pylint on every save
compiler pylint
"autocmd FileType python setlocal omnifunc=pysmell#Complete
let python_highlight_all=1
"Load views for py files
autocmd BufWinLeave *.py mkview
autocmd BufWinEnter *.py silent loadview