fzf icon indicating copy to clipboard operation
fzf copied to clipboard

Unable to map ctrl-_

Open natechan opened this issue 5 years ago • 3 comments

  • Category
    • [ ] fzf binary
    • [ ] fzf-tmux script
    • [x] Key bindings
    • [ ] Completion
    • [ ] Vim
    • [ ] Neovim
    • [ ] Etc.
  • OS
    • [ ] Linux
    • [x] Mac OS X
    • [ ] Windows
    • [ ] Windows Subsystem for Linux
    • [ ] Etc.
  • Shell
    • [ ] bash
    • [ ] zsh
    • [x] fish

Would it be possible to add support for binding ctrl-_?

When I try, I see

> env FZF_DEFAULT_OPTS='--bind=ctrl-_:abort' fzf
unsupported key: ctrl-_

Related issue: https://github.com/junegunn/fzf/issues/825

natechan avatar Aug 09 '18 20:08 natechan

I'd like support for alt-- (AltMinus) and alt-\ (AltBackslash) as well.

dlee avatar Aug 30 '18 08:08 dlee

Support for ctrl+bspace would be great too.

viniciusmiradouro avatar Feb 28 '21 14:02 viniciusmiradouro

Ctrl+_ https://github.com/junegunn/fzf/blob/5fc78e4584eface9f2055ee7c31c2ae8c5cedc87/src/tui/tcell_test.go#L99 Ctrl+Backspace https://github.com/junegunn/fzf/blob/5fc78e4584eface9f2055ee7c31c2ae8c5cedc87/src/tui/tcell_test.go#L115 (just a memo)

vovcacik avatar Oct 13 '21 14:10 vovcacik

https://github.com/junegunn/fzf/commit/168453da71af199a76279b9d4017ad1f72ba1f26

junegunn avatar Dec 26 '22 09:12 junegunn