diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-07-28 00:22:04 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-07-28 00:22:04 +0900 |
commit | 9f953fc9440a6df9dcfc177555e0b4dd7444fd0a (patch) | |
tree | 3d5d2d5054aa6ee63f1d7444b7665b3a72018390 /plugin | |
parent | 909ea1a698e9021fbae3366b1e71ba12f0dd7270 (diff) |
Do not use tmux pane if the current pane is zoomed
Close #303
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fzf.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index a149e791..1a245d99 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -64,7 +64,8 @@ function! s:tmux_enabled() endif let s:tmux = 0 - if exists('$TMUX') && executable(s:fzf_tmux) + let panes = system('tmux list-panes -F "#F"') + if exists('$TMUX') && executable(s:fzf_tmux) && panes !~# 'Z' let output = system('tmux -V') let s:tmux = !v:shell_error && output >= 'tmux 1.7' endif |