Skip to content
Discussion options

You must be logged in to vote
  • Remove the binding from keymap.builtin

When you use keymap.builtin you’re overriding neovim’s teminal mapping :tmap … on the fzf main buffer so that would obviously override the fzf mapping.

Do not touch vim.env.FZF_DEFAULT_OPTS in nvim.

Unrelated IMHO, unless specifically overridden fzf-lua will inherit the settings from the shell env.

Add bind to fzf_opts:

IMHO it’s better to add the bind to keymap.fzf:

  keymap = {
    fzf = {
        ["ctrl-backspace"] = "backward-kill-word",
    }
  }

This particular combination works as expected. Why? No idea, but it works.

If you like your solution keep it, nothing wrong with it.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@savchenko
Comment options

@ibhagwan
Comment options

@savchenko
Comment options

@ibhagwan
Comment options

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