aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc21
1 files 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 <C-x> :source ~/.vimrc<Enter>
+let mapleader = ","
+
+" convenience
+noremap <leader>x :source ~/.vimrc<Enter>
+noremap <leader><leader> <c-^>
+nnoremap <c-j> <c-w>j
+nnoremap <c-k> <c-w>k
+nnoremap <c-h> <c-w>h
+nnoremap <c-l> <c-w>l
" NERDTree
noremap <C-e> :NERDTreeToggle<Enter>
-noremap ,e :NERDTreeToggle<Enter>
+noremap <leader>e :NERDTreeToggle<Enter>
let NERDTreeMapActivateNode='<Space>'
" bufexplore
-noremap ,fe :BufExplorer<Enter>
-noremap ,fs :BufExplorerHorizontalSplit<Enter>
-noremap ,fv :BufExplorerVerticalSplit<Enter>
+noremap <leader>fe :BufExplorer<Enter>
+noremap <leader>fs :BufExplorerHorizontalSplit<Enter>
+noremap <leader>fv :BufExplorerVerticalSplit<Enter>
+
+" ctrlp
+let g:ctrlp_map ='<leader>a'
"
" visual