From a897ee2c2dd8a4ef421b8ef34798a83996de321d Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 8 Aug 2017 01:07:41 +0100 Subject: [PATCH 1/1] dot/zshrc: Make `pound-insert' (M-#) work. --- dot/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot/zshrc b/dot/zshrc index e8657cb..3ed1bd9 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -67,6 +67,9 @@ bindkey "\e^c" capitalize-word-shell bindkey "\ep" history-beginning-search-backward bindkey "\en" history-beginning-search-forward +setopt interactive_comments +bindkey "\e#" pound-insert + __mdw_delete_horizontal_space () { LBUFFER=${LBUFFER%%[[:space:]]##} RBUFFER=${RBUFFER##[[:space:]]##} -- 2.11.0