From: David Kerkeslager Date: Thu, 16 Sep 2010 14:30:12 +0000 (-0700) Subject: Added and then removed some vim plugins X-Git-Url: https://code.kerkeslager.com/?p=dotfiles;a=commitdiff_plain;h=0474d4f3e31338874753e745545c4e344d7a6364;hp=1ce39ef1ae4a376a098ec52398037461317d0853 Added and then removed some vim plugins --- diff --git a/.vimrc b/.vimrc index 5aa1f56..eac5995 100644 --- a/.vimrc +++ b/.vimrc @@ -18,6 +18,11 @@ filetype indent on " autocmd filetype python set expandtab " endif +" Allow folding. +set foldenable +set foldmethod=syntax +set foldlevelstart=99 + " Show line numbers. set number set numberwidth=4 @@ -96,5 +101,14 @@ noremap! noremap "" noremap! +" Map open and close items in insert mode. +" Keep this commented out until I can get it working better. +"inoremap { {}O +"inoremap [ []i +"inoremap ( ()i +"inoremap } /}o +"inoremap ] /]a +"inoremap ) /)a + " Automatically reload the .vimrc when changes are made to it au! BufWritePost .vimrc source %