Skip to content

Commit

Permalink
Unmap old keys for nerdtree and buffergator
Browse files Browse the repository at this point in the history
to force myself to use new ones.
  • Loading branch information
Andrew Hartford committed Oct 21, 2013
1 parent 5a33d32 commit 1dbfbe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/vim/dot_vimrc.after
Expand Up @@ -70,6 +70,7 @@ call janus#add_mapping("nerdtree", "nnoremap", "®®", ":NERDTreeToggle<CR>")
call janus#add_mapping("nerdtree", "nnoremap", "<M-R><M-R>", ":NERDTreeToggle<CR>")
call janus#add_mapping("nerdtree", "nnoremap", "®ƒ", ":NERDTreeFind<CR>")
call janus#add_mapping("nerdtree", "nnoremap", "<M-R><M-F>", ":NERDTreeFind<CR>")
unmap <leader>n

" tagbar is <M-A>
call janus#add_mapping("tagbar", "nnoremap", "å", ":TagbarToggle<CR>")
Expand Down
2 changes: 2 additions & 0 deletions configs/vim/dot_vimrc.before
Expand Up @@ -2,11 +2,13 @@
let mapleader = ","

"NERDTree customizations
" Doesn't work thanks to janus overwriting this
let NERDTreeHijackNetrw = 1

"Buffergator customizations
let g:buffergator_sort_regime="filepath"
let g:buffergator_viewport_split_policy="B"
let g:buffergator_suppress_keymaps=1

"CtrlP customizations
let g:ctrlp_map = '<C-P><C-P>'
Expand Down

0 comments on commit 1dbfbe1

Please sign in to comment.