From 6a538101a2c34ccf219bf6c49103d5a8674808d4 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Sun, 1 May 2022 12:27:54 +0200 Subject: [PATCH] vim:plugs:tmux-navigator: Disable on zoomed pane Disable tmux navigator when zooming the Vim pane. --- .config/vim/vimrc.d/20-plugins.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/vim/vimrc.d/20-plugins.vim b/.config/vim/vimrc.d/20-plugins.vim index 592df59..4475740 100644 --- a/.config/vim/vimrc.d/20-plugins.vim +++ b/.config/vim/vimrc.d/20-plugins.vim @@ -21,3 +21,8 @@ if (executable('ctags')) \ 'build/*' \] endif + +if (exists("g:loaded_tmux_navigator")) + " Disable tmux navigator when zooming the Vim pane + let g:tmux_navigator_disable_when_zoomed = 1 +endif