-
I'm using bash and I am very used to capitalizing a word with Alt-C, and when using fzf it is very unexpected for me to see it go into action when I hit this key combo. How can I make fzf not override this keybinding, or make it bind something else? |
Beta Was this translation helpful? Give feedback.
Answered by
junegunn
Jul 27, 2022
Replies: 2 comments
-
You can restore the original bash bindings like so [ -f ~/.fzf.bash ] && source ~/.fzf.bash
if [[ $- =~ i ]]; then
# Restore original bindings
# bind '"\C-t": transpose-chars'
# bind '"\C-r": reverse-search-history'
bind '"\ec": capitalize-word'
fi |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
junegunn
-
Thank you for the snippet, this worked. |
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
You can restore the original bash bindings like so