diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index cab3750..3721f42 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -7,3 +7,7 @@ set autoindent nnoremap :call SaveAndExecute('python') " vnoremap :call SaveAndExecutePython() + +set foldmethod=indent +set foldnestmax=2 +