From 25b513d7c932bc052d91863a8743f1a3124097d2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 16 Aug 2018 10:13:33 +1200 Subject: Bind Alt-' in readline to insert '\'' for shell --- readline/inputrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readline/inputrc b/readline/inputrc index 7e4b500d..c11d8fe7 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -77,6 +77,9 @@ $if Bash # Alt-M (for muxer) to run tm(1df) "\em": "\C-utm\C-j\C-y" + # Alt-' for escaped single-quote: 'don'\''t fear the reaper' + "\e'": "'\\''" + # Ctrl-Alt-B to move backward a shell-quoted word "\e\C-b": shell-backward-word # Ctrl-Alt-F to move forward a shell-quoted word -- cgit v1.2.3