]> git.draconx.ca Git - zshconf.git/commitdiff
Bind keypad enter properly in screen.
authorNick Bowler <nbowler@elliptictech.com>
Thu, 7 Oct 2010 14:47:47 +0000 (10:47 -0400)
committerNick Bowler <nbowler@elliptictech.com>
Fri, 14 Jan 2011 14:15:58 +0000 (09:15 -0500)
zshrc

diff --git a/zshrc b/zshrc
index a918905a10698fdb1bd02addfa48e5eb9bc0772a..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 '\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
 ;;
 xterm)
        bindkey '\e[3~' delete-char