From 27c77881a31f903cd424dfaee664ee1a0359ec0f Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 21 Aug 2019 14:57:43 +0100 Subject: [PATCH] Silent call tmux navigation flag functions --- plugin/autocmds.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/autocmds.vim b/plugin/autocmds.vim index 936af35..0b73f1b 100644 --- a/plugin/autocmds.vim +++ b/plugin/autocmds.vim @@ -4,8 +4,8 @@ augroup benieAugroup if $TMUX !=# '' " [Un]set tmux window option to detect when to change pane. call tmux#setNavigationFlag() - au FocusGained * call tmux#setNavigationFlag() - au VimLeave * call tmux#unsetNavigationFlag() + au FocusGained * silent call tmux#setNavigationFlag() + au VimLeave * silent call tmux#unsetNavigationFlag() endif " Reopening a file at last curson position