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.bash | |
| parent | b83dd6c6b426da99e11a8b3c58c075c70ee2700a (diff) | |
| download | fzf-eb0257d48f8362ff91df162ac4bc07ac0693ba27.tar.gz | |
Enhance --min-height option to take number followed by +
Diffstat (limited to 'shell/key-bindings.bash')
| -rw-r--r-- | shell/key-bindings.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index 2da32cba..8b0ef76c 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -20,7 +20,7 @@ if [[ $- =~ i ]]; then __fzf_defaults() { # $1: Prepend to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS # $2: Append to FZF_DEFAULT_OPTS_FILE and FZF_DEFAULT_OPTS - echo "--height ${FZF_TMUX_HEIGHT:-40%} --bind=ctrl-z:ignore $1" + echo "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1" command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null echo "${FZF_DEFAULT_OPTS-} $2" } |
