]> git.draconx.ca Git - zshconf.git/blobdiff - zshrc
Bind keypad enter properly in screen.
[zshconf.git] / zshrc
diff --git a/zshrc b/zshrc
index df6b2ad41151758f6ab96b19d8de9bd381a3547e..9878649eb724c943e45d8394effaec0bf5c0d764 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -30,6 +30,7 @@ screen*|linux)
        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*)