diff --git a/.vimrc b/.vimrc index f2cc66d..b18c20c 100644 --- a/.vimrc +++ b/.vimrc @@ -7,6 +7,10 @@ set autoindent set smartindent set linespace=2 +" Code Folding +set foldlevelstart=20 +set foldmethod=indent + " Fix line numbers and tabs set number set tabstop=4 softtabstop=4 shiftwidth=4 expandtab @@ -70,7 +74,7 @@ nnoremap j nnoremap k nnoremap l -"Opens a split and switches over (\v, \s) +" Opens a split and switches over (\v, \s) nnoremap v vl nnoremap s sj @@ -85,7 +89,7 @@ nnoremap :tabnext nnoremap :tabnew inoremap :tabpreviousi inoremap :tabnexti -inoremap :tabnew +inoremap :tabnew " Bundles set rtp+=~/.vim/bundle/vundle/