From eda5f42a8ad6d5dcbeb090f3f6d143cf66361ac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik.tjader@nordicsemi.no>
Date: Wed, 4 Jan 2023 13:22:42 +0100
Subject: [PATCH] Disable TMUX plugin when fully zoomed in

---
 .vimrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.vimrc b/.vimrc
index b3ee827..217b290 100644
--- a/.vimrc
+++ b/.vimrc
@@ -347,6 +347,9 @@ exec "set <F25>=\<Esc>[I"
 " https://unix.stackexchange.com/questions/329641/can-i-remap-ctrl-j-and-ctrl-k-in-vim
 let g:C_Ctrl_j = 'off'
 
+" Disable tmux navigator when zooming the Vim pane
+let g:tmux_navigator_disable_when_zoomed = 1
+
 " You might have to force true color when using regular vim inside tmux as the
 " colorscheme can appear to be grayscale with "termguicolors" option enabled.
 if !has('gui_running') && &term =~ '^\%(screen\|tmux\)'
-- 
GitLab