summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index fddab518..d8106935 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -52,17 +52,13 @@ function! s:fzf_exec()
return s:exec
endfunction
-function! s:tmux_not_zoomed()
- return system('tmux list-panes -F "#F"') !~# 'Z'
-endfunction
-
function! s:tmux_enabled()
if has('gui_running')
return 0
endif
if exists('s:tmux')
- return s:tmux && s:tmux_not_zoomed()
+ return s:tmux
endif
let s:tmux = 0
@@ -70,7 +66,7 @@ function! s:tmux_enabled()
let output = system('tmux -V')
let s:tmux = !v:shell_error && output >= 'tmux 1.7'
endif
- return s:tmux && s:tmux_not_zoomed()
+ return s:tmux
endfunction
function! s:shellesc(arg)