]> git.draconx.ca Git - zshconf.git/blobdiff - zshrc
Fix history search bindings for Colemak.
[zshconf.git] / zshrc
diff --git a/zshrc b/zshrc
index df6b2ad41151758f6ab96b19d8de9bd381a3547e..a918905a10698fdb1bd02addfa48e5eb9bc0772a 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -45,6 +45,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*)