diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-28 18:34:12 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-28 18:34:12 +0900 |
| commit | eb0257d48f8362ff91df162ac4bc07ac0693ba27 (patch) | |
| tree | 3ca94beb69273ea7b08cc52388824cc528c81d18 /shell/key-bindings.fish | |
| parent | b83dd6c6b426da99e11a8b3c58c075c70ee2700a (diff) | |
| download | fzf-eb0257d48f8362ff91df162ac4bc07ac0693ba27.tar.gz | |
Enhance --min-height option to take number followed by +
Diffstat (limited to 'shell/key-bindings.fish')
| -rw-r--r-- | shell/key-bindings.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index 15c53ef2..18280a94 100644 --- a/shell/key-bindings.fish +++ b/shell/key-bindings.fish @@ -20,7 +20,7 @@ function fzf_key_bindings # $1: Prepend to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS # $2: Append to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40% - echo "--height $FZF_TMUX_HEIGHT --bind=ctrl-z:ignore" $argv[1] + echo "--height $FZF_TMUX_HEIGHT --min-height 20+ --bind=ctrl-z:ignore" $argv[1] test -r "$FZF_DEFAULT_OPTS_FILE"; and string collect -N -- <$FZF_DEFAULT_OPTS_FILE echo $FZF_DEFAULT_OPTS $argv[2] end |
