Fixed keybinding conflict introduced as part of #526.

This commit is contained in:
Dan Simmons
2014-10-24 17:28:04 -04:00
parent 9e64c72eeb
commit dfb65f2177
3 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
" Don't allow any default key-mappings.
let g:tmux_navigator_no_mappings = 1
" Re-enable tmux_navigator.vim default bindings, minus <c-\>.
" <c-\> conflicts with NERDTree "current file".
nnoremap <silent> <c-h> :TmuxNavigateLeft<cr>
nnoremap <silent> <c-j> :TmuxNavigateDown<cr>
nnoremap <silent> <c-k> :TmuxNavigateUp<cr>
nnoremap <silent> <c-l> :TmuxNavigateRight<cr>