Replies: 1 comment
-
jump/ jump-accept actions
man fzf
# jump (EasyMotion-like 2-keystroke movement)
# jump-accept (jump and accept) load event
fzf --bind 'load:jump'
fzf --bind 'load:jump-accept' man fzf
# load
# Triggered when the input stream is complete and the initial pro-
# cessing of the list is complete. focus event
fzf --bind 'focus:jump' man fzf
# focus
# Triggered when the focus changes due to a vertical cursor move-
# ment or a search result update. PS:
--bind ';:jump'
--bind '::jump-accept' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Jump allows selecting a line, pressing a key shown in the gutter. However, you need to activate jump first and make the characters shown, as key input normally goes to enter a search term. This is desired normal behavior. However, I use fzf a lot for creating menu's. I would like to keep the jump characters visible all time in menu's,
I would like an option: input-mode to allow keeping the jump keys visible,
--input-mode=find: default normal behavior like it is now
--input-mode=jump: keep jump-characters visible and accept selected line when in single-select and toggle line selection in case of multi-select
the Jump key still toggles between accepting keys to jump or find
With only one key to press, this would allow very fast menu's. You can quickly move through menu's in a lotus 1-2-3 like manner, remembering key sequences.
Beta Was this translation helpful? Give feedback.
All reactions