How to not include [cancel] in the menu?
mskar opened this issue · comments
I would prefer to not to have [cancel]
as one of the options, because I can hit escape to cancel.
Is there a setting that I can use to remove [cancel]
as one of the options?
As a temporary solution, you can simply change the source code, this is quite easy to do.
Just cd
into plugin directory and search for the lines of codes starting with target_origin=$(printf
,then remove [cancel]
from there
For example, replace
target_origin=$(printf "%s\n[cancel]" "$sessions" | eval "$TMUX_FZF_BIN $TMUX_FZF_OPTIONS $TMUX_FZF_PREVIEW_OPTIONS")
with
target_origin=$(printf "$sessions" | eval "$TMUX_FZF_BIN $TMUX_FZF_OPTIONS $TMUX_FZF_PREVIEW_OPTIONS")