summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-10 01:40:56 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-18 17:08:36 +0900
commit83b603390683d49ff75b72d142b4dba4b5186d73 (patch)
tree103394f2ffab559d08528ed50a342f80c61d392b /plugin
parent01e7668915c4e3cf8c9eeca283d41beac924fe1f (diff)
downloadfzf-83b603390683d49ff75b72d142b4dba4b5186d73.tar.gz
Add --tmux option to replace fzf-tmux script
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index fc7b196a..51ed1388 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -537,10 +537,10 @@ try
let use_term = 0
endif
if use_term
- let optstr .= ' --no-height'
+ let optstr .= ' --no-height --no-tmux'
elseif use_height
let height = s:calc_size(&lines, dict.down, dict)
- let optstr .= ' --height='.height
+ let optstr .= ' --no-tmux --height='.height
endif
" Respect --border option given in $FZF_DEFAULT_OPTS and 'options'
let optstr = join([s:border_opt(get(dict, 'window', 0)), s:extract_option($FZF_DEFAULT_OPTS, 'border'), optstr])