From d65691457b949fd3abcadacb9c635e1e9ea740db Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Fri, 17 Oct 2025 12:42:11 -0400 Subject: [PATCH] bind ctrl+backspace and ctrl+delete in bash --- dot_inputrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dot_inputrc diff --git a/dot_inputrc b/dot_inputrc new file mode 100644 index 0000000..4c0f419 --- /dev/null +++ b/dot_inputrc @@ -0,0 +1,5 @@ +# Ctrl-Backspace: delete previous word +"\C-H": backward-kill-word + +# Ctrl-Delete: delete next word +"\e[3;5~": kill-word