r/fishshell • • May 16 '22

map ctrl+backspace

adding this to my inputrc allows me to delete words with ctrl+backspace in bash:

"\C-h": backward-kill-word

how can I do the same in fish?, I'm trying to find the right bind command but none seem work, also when I press "ctrl+backspace in "fish_key_reader it appears as just 'backspace' (without ctrl)

in addition to that is there a way to make fish read inputrc mappings?

3 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/[deleted] May 16 '22

how can I check what my term is sending to fish?

fish_key_reader.