From 0474d4f3e31338874753e745545c4e344d7a6364 Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Thu, 16 Sep 2010 07:30:12 -0700 Subject: [PATCH] Added and then removed some vim plugins --- .vimrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 % -- 2.20.1