From 24fa924a8537aac49012e41b8f4a83e9daf93dea Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sun, 30 Jun 2013 17:51:43 +0300 Subject: [PATCH] Code Folding --- .vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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/