From 8edeb4c35086eba7c89a4663c8e527e10649e14c Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Mon, 19 Dec 2011 04:49:59 -0500 Subject: adding some additional shortcuts --- vimrc | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/vimrc b/vimrc index 3396289..888161c 100644 --- a/vimrc +++ b/vimrc @@ -86,17 +86,28 @@ endif " bindings " -noremap :source ~/.vimrc +let mapleader = "," + +" convenience +noremap x :source ~/.vimrc +noremap +nnoremap j +nnoremap k +nnoremap h +nnoremap l " NERDTree noremap :NERDTreeToggle -noremap ,e :NERDTreeToggle +noremap e :NERDTreeToggle let NERDTreeMapActivateNode='' " bufexplore -noremap ,fe :BufExplorer -noremap ,fs :BufExplorerHorizontalSplit -noremap ,fv :BufExplorerVerticalSplit +noremap fe :BufExplorer +noremap fs :BufExplorerHorizontalSplit +noremap fv :BufExplorerVerticalSplit + +" ctrlp +let g:ctrlp_map ='a' " " visual -- cgit v1.2.3