summaryrefslogtreecommitdiff
path: root/etc/keys
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-03 13:10:24 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-03 13:10:24 +0100
commitb97b00074f1a5e35722bd12d7a3ce65f23deab8f (patch)
tree1be89786e023009b8859382303834cf516471199 /etc/keys
parent9a4209506b0400b5cce16a1a8db948e2b1476daa (diff)
Fixed key bindings
Diffstat (limited to 'etc/keys')
-rw-r--r--etc/keys3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/keys b/etc/keys
index 2507aaa..6527cd2 100644
--- a/etc/keys
+++ b/etc/keys
@@ -1,4 +1,7 @@
## vim:ft=zsh
+bindkey -e
[[ -z $terminfo[kdch1] ]] || bindkey -M emacs $terminfo[kdch1] delete-char
[[ -z $terminfo[khome] ]] || bindkey -M emacs $terminfo[khome] beginning-of-line
[[ -z $terminfo[kend] ]] || bindkey -M emacs $terminfo[kend] end-of-line
+bindkey '^Z' predict-on
+bindkey '^X^Z' predict-off