X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/f82958dca90596af7dd625305b9941f18542f17e..1e40b3e8ca2099ae7b14f26110161e8b71bc34a0:/zshrc diff --git a/zshrc b/zshrc index df6b2ad..caf5805 100644 --- a/zshrc +++ b/zshrc @@ -26,10 +26,11 @@ rxvt*) bindkey '\e[8~' end-of-line bindkey '\e[7~' beginning-of-line ;; -screen*|linux) +screen*|linux|cygwin) bindkey '\e[3~' delete-char bindkey '\e[4~' end-of-line bindkey '\e[1~' beginning-of-line + bindkey '\eOM' accept-line ;; xterm) bindkey '\e[3~' delete-char @@ -45,6 +46,14 @@ cons25) ;; esac +# Keymap-specific bindings +case $KEYMAP in +colemak) + bindkey '^R' history-incremental-search-forward + bindkey '^P' history-incremental-search-backward + ;; +esac + # Set the xterm title case $TERM in xterm*|rxvt*|Eterm|aterm|kterm|gnome*)