Skip to content

feat: cancel-group and cancel-group-or-exit bindings - #591

Open
arnodirlam wants to merge 2 commits into
Aloxaf:masterfrom
arnodirlam:feature/cancel-group
Open

feat: cancel-group and cancel-group-or-exit bindings#591
arnodirlam wants to merge 2 commits into
Aloxaf:masterfrom
arnodirlam:feature/cancel-group

Conversation

@arnodirlam

Copy link
Copy Markdown

Resolves #590.

Comment thread lib/-ftb-fzf

local default_binds=tab:down,btab:up,change:top,ctrl-space:toggle,bspace:backward-delete-char/eof,ctrl-h:backward-delete-char/eof
local fzf_command fzf_flags fzf_preview debug_command tmp switch_group active_group_style fzf_pad fzf_min_height binds
local fzf_command fzf_flags fzf_preview debug_command tmp switch_group cancel_group cancel_group_or_exit

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was actually thinking to make a local line for each variable. That would be easier to diff in the future. WDYT?

Comment thread lib/ftb-switch-group

# receive arguments
local pid=$1 header_lines=$2 active_group_style=$3 tmp_dir=$4 offset=$5
local pid=$1 header_lines=$2 active_group_style=$3 tmp_dir=$4 action=$5 value=$6

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes the signature of ftb-switch-group to ... action=$5 value=$6 so it's more generic.

value could instead be named arg as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: cancel-group binding

1 participant