summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/zle7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/zle b/etc/zle
index 3617f57..e5c6fc0 100644
--- a/etc/zle
+++ b/etc/zle
@@ -1,3 +1,10 @@
## vim:ft=zsh
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
+
+autoload predict-on
+zle -N predict-on
+zle -N predict-off
+bindkey '^Z' predict-on
+bindkey '^X^Z' predict-off
+zstyle ':predict' verbose true