]> git.draconx.ca Git - zshconf.git/commitdiff
Fix history search bindings for Colemak.
authorNick Bowler <nbowler@draconx.ca>
Thu, 21 Oct 2010 23:39:53 +0000 (19:39 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 21 Oct 2010 23:39:53 +0000 (19:39 -0400)
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*)