diff options
author | Matt Singleton <matt@datadoghq.com> | 2011-12-19 04:49:59 -0500 |
---|---|---|
committer | Matt Singleton <matt@datadoghq.com> | 2011-12-19 04:49:59 -0500 |
commit | 8edeb4c35086eba7c89a4663c8e527e10649e14c (patch) | |
tree | 578a9cbec44da562feeb2f58f8f0221bd0d0f211 /vimrc | |
parent | 2b9f474cd594be990b1571ba805c27ff23ce76a9 (diff) |
adding some additional shortcuts
Diffstat (limited to 'vimrc')
-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 |