diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-02-04 21:52:05 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-02-04 21:52:05 +0900 |
commit | 72265298f95d184c8e7d118e335f836899831042 (patch) | |
tree | fef783bdfe8499e48c075ca5828222d02ba4a13d /plugin | |
parent | 4b700192c1f07aa6ba8d0ed7cb9c1b1dcb6f7ddb (diff) |
[vim] Apply --no-height when running fzf in full screen mode
To override --height option in FZF_DEFAULT_OPTS
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |