-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpymode.vim
More file actions
21 lines (20 loc) · 712 Bytes
/
Copy pathpymode.vim
File metadata and controls
21 lines (20 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
let g:pymode=1
let g:pymode_python='python3'
let g:pymode_options=1
let g:pymode_rope=1
" Remove folding for defs and multi line docstrings.
"let g:pymode_lint=0
"let g:pymode_lint_checkers = ['pylint', 'pyflakes', 'pep8']
let g:pymode_folding=0
let g:pymode_virtualenv=1
let g:pymode_rope_lookup_project=1
let g:pymode_rope_complete_on_dot=0
let g:pymode_options_max_line_length = 159
"let g:pymode_rope_project_root='~/.config/.ropeproject/'
"let g:pymode_rope_project_root='~/.config'
" So pymode doesn't compute fold for every window.
augroup unset_folding_in_insert_mode
autocmd!
autocmd InsertEnter *.py setlocal foldmethod=marker
autocmd InsertLeave *.py setlocal foldmethod=expr
augroup END