fzf.vim icon indicating copy to clipboard operation
fzf.vim copied to clipboard

ALT-Q to select all and populate/open quickfix?

Open jesseleite opened this issue 5 years ago • 3 comments

  • Category
    • [ ] Question
    • [ ] Bug
    • [x] Suggestion

Would it be possible to add a mapping like ALT-Q to select all grep/ag/rg results and populate/open quickfix? Not new functionality, but a single hotkey as an alternative to ALT-A+Enter?

jesseleite avatar Nov 05 '18 16:11 jesseleite

Workaroud:

let $FZF_DEFAULT_OPTS = '--bind alt-q:select-all+accept'

jD91mZM2 avatar Jan 26 '21 17:01 jD91mZM2

Oh very cool, thanks!

jesseleite avatar Jan 27 '21 14:01 jesseleite

Workaroud:

let $FZF_DEFAULT_OPTS = '--bind alt-q:select-all+accept'

thank you so much @jD91mZM2 for this answer, I just chose to use ctrl-a instead of alt+a to only select-all as alt-a writes å in the search and alt-q writes œ with my qwerty keyboard.

if anyone is experiencing the same issue, just try the following:

let $FZF_DEFAULT_OPTS = '--bind ctrl-a:select-all'

P1X3L avatar Jul 21 '21 11:07 P1X3L