From 63120c1997ccf97feb0cb924425c4f2eec0df443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Szyma=C5=84ski?= Date: Mon, 10 Apr 2017 15:34:35 +0200 Subject: [PATCH] Add Nvim terminal emulator key mappings --- plugin/tmux_navigator.vim | 9 +++++++++ 1 file changed, 9 insertions(+) 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