From 72265298f95d184c8e7d118e335f836899831042 Mon Sep 17 00:00:00 2001 From: Junegunn Choi <junegunn.c@gmail.com> Date: Sat, 4 Feb 2017 21:52:05 +0900 Subject: [PATCH] [vim] Apply --no-height when running fzf in full screen mode To override --height option in FZF_DEFAULT_OPTS --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 9473c442..552b2e34 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -317,7 +317,7 @@ try endif if use_height let optstr .= ' --height='.s:calc_size(&lines, dict.down, dict) - elseif use_term + else let optstr .= ' --no-height' endif let command = prefix.(use_tmux ? s:fzf_tmux(dict) : fzf_exec).' '.optstr.' > '.temps.result -- GitLab