X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/c510f8b9c8bea8595423a6ce7760bdc06cd73adb..a897ee2c2dd8a4ef421b8ef34798a83996de321d:/dot/zshrc diff --git a/dot/zshrc b/dot/zshrc index e332557..3ed1bd9 100644 --- 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:]]##}