diff --git a/plugin/tmux_navigator.vim b/plugin/tmux_navigator.vim index 7a91117..1a3008d 100644 --- a/plugin/tmux_navigator.vim +++ b/plugin/tmux_navigator.vim @@ -125,4 +125,13 @@ if s:UseTmuxNavigatorMappings() nnoremap :TmuxNavigateUp nnoremap :TmuxNavigateRight nnoremap :TmuxNavigatePrevious + + " Nvim specific key mappings. + if exists(':tnoremap') + tnoremap :TmuxNavigateLeft + tnoremap :TmuxNavigateDown + tnoremap :TmuxNavigateUp + tnoremap :TmuxNavigateRight + tnoremap :TmuxNavigatePrevious + endif endif