Allow specifying fzf options in $FZF_TMUX_OPTS without '--'

This commit is contained in:
Junegunn Choi
2022-08-08 23:50:47 +09:00
parent 779d8e1627
commit 19f9bbca0d
3 changed files with 8 additions and 6 deletions
+4 -1
View File
@@ -8,8 +8,11 @@ CHANGELOG
```sh
fzf-tmux -p70%
fzf-tmux -p70% --color=border:bright-red
fzf-tmux -p100%,60% --color=border:bright-yellow --border=horizontal
fzf-tmux -p100%,60% --color=border:bright-yellow --border=horizontal --padding 1,5 --margin 1,0
fzf-tmux -p70%,100% --color=border:bright-green --border=vertical
# Key bindings (CTRL-T, CTRL-R, ALT-C) will use these options
export FZF_TMUX_OPTS='-p100%,60% --color=border:green --border=horizontal --padding 1,5 --margin 1,0'
```
0.32.0