summaryrefslogtreecommitdiff
path: root/etc/keys
diff options
context:
space:
mode:
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