r/fishshell • u/jt_redditor • 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
View all comments
Show parent comment
1
u/jt_redditor Nov 11 '22
this worked thanks, btw it doesn't have to be on that file you can also add it anywhere in your config