Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make forward-delete work in bash line editor' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make forward-delete work in bash line editor
Authored by: kholburn on Nov 28, '03 05:00:32PM

In Bash add this to your $HOME/.inputrc or /etc/inputrc

"\e[3~": delete-char

You can activate it in a current session by using this command:

bind '"\e[3~": delete-char'
or after you add the line to the file:
bind -f /etc/inputrc

These are my favourite bash bindings:
control-p: history-search-backward
control-n: history-search-forward



[ Reply to This | # ]