m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Add jump and jump-cancel events

Close #3412

    # Default behavior
    fzf --bind space:jump

    # Same as jump-accept action
    fzf --bind space:jump,jump:accept

    # Accept on jump, abort on cancel
    fzf --bind space:jump,jump:accept,jump-cancel:abort

    # Change header on jump-cancel
    fzf --bind 'space:change-header(Type jump label)+jump,jump-cancel:change-header:Jump cancelled'
This commit is contained in:
Junegunn Choi
2024-04-10 20:11:47 +09:00
parent 17bb7ad278
commit a4745626dd
5 changed files with 52 additions and 8 deletions

View File

@@ -108,6 +108,8 @@ const (
One
Zero
Result
Jump
JumpCancel
AltBS