From 2bcf96b9404ae35a6a7fccb0a2595254df58ea1c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 23 Apr 2016 16:05:05 +1200 Subject: Shell word navigation in .inputrc --- readline/inputrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'readline') diff --git a/readline/inputrc b/readline/inputrc index 6a9870a2..7d86b255 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -50,4 +50,10 @@ $if Bash "\es": "\C-a(set -x ; \C-e)\C-b" # Alt-T (for todo) to edit my to-do file with td(1) "\et": "\C-atd\C-j\C-y" + # Ctrl-Alt-W to delete a previous shell-quoted word + "\e\C-w": shell-backward-kill-word + # Ctrl-Alt-B to move backward a shell-quoted word + "\e\C-f": shell-forward-word + # Ctrl-Alt-F to move forward a shell-quoted word + "\e\C-b": shell-backward-word $endif -- cgit v1.2.3