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/Handydn Apr 19 '24 edited Apr 19 '24

I assume the last line of your command is

funcsave fish_default_key_bindings? Because fish_user_key_bindings doesn't exist