Skip to content

builtin keymap or fzf keymap? when will builtin keymap being used? #1612

Answered by ibhagwan
milanglacier asked this question in Q&A
Discussion options

You must be logged in to vote

One day I will merge both these keymap tables and sort out this confusion, I'll try to make sense below.

As you probably understand fzf-lua is running fzf the binary in a neovim terminal. keymap.fzf are the binds sent to fzf's --bind= flag (part of the fzf cli), these are usually navigation, line editing, etc.

keymap.builtin on the other hand are neovim binds attached to the main fzf window (the one running terminal fzf inside), for example when you press F1 and fzf-lua will display the help window, in this workflow neovim interprests the keybind and triggers fzf-lua's help window (not interacting with the terminal at all).

Here's when it becomes more confusing, fzf-lua supports all types…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ibhagwan
Comment options

You must be logged in to vote
5 replies
@ibhagwan
Comment options

@milanglacier
Comment options

@ibhagwan
Comment options

@gennaro-tedesco
Comment options

@ibhagwan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants