diff options
-rw-r--r-- | vimrc | 21 |
1 files changed, 16 insertions, 5 deletions
@@ -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 |