mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
feat: try to suppress global '-1' option for fzf
Use '+1' to suppress '-1' option set by `FZF_DEFAULT_OPTS`.
This is a undocumented option for `fzf`. There is no guarantee that it
will always work. It's better to not set such options in
`FZF_DEFAULT_OPTS` which are not globally applicable. #80
Former-commit-id: 1f1e135b9f
This commit is contained in:
parent
1d15d10493
commit
2170e5b3b9
|
|
@ -282,6 +282,7 @@ $FZF_DEFAULT_OPTS
|
|||
--bind='?:toggle-preview'
|
||||
--bind='alt-w:toggle-preview-wrap'
|
||||
--preview-window='right:60%'
|
||||
+1
|
||||
$FORGIT_FZF_DEFAULT_OPTS
|
||||
"
|
||||
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ $FZF_DEFAULT_OPTS
|
|||
--bind='?:toggle-preview'
|
||||
--bind='alt-w:toggle-preview-wrap'
|
||||
--preview-window='right:60%'
|
||||
+1
|
||||
$FORGIT_FZF_DEFAULT_OPTS
|
||||
"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue