dot/zshrc: Make `pound-insert' (M-#) work.
[profile] / dot / zshrc
index e332557..3ed1bd9 100644 (file)
--- a/dot/zshrc
+++ b/dot/zshrc
@@ -64,6 +64,12 @@ bindkey "\e^l" up-case-word-shell
 bindkey "\ec" capitalize-word-bash
 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:]]##}