mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
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
28 lines
601 B
VimL
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
|