summaryrefslogtreecommitdiff
path: root/key-bindings.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'key-bindings.zsh')
-rw-r--r--key-bindings.zsh22
1 files changed, 21 insertions, 1 deletions
diff --git a/key-bindings.zsh b/key-bindings.zsh
index 20caad11f..43082ae1f 100644
--- a/key-bindings.zsh
+++ b/key-bindings.zsh
@@ -11,4 +11,24 @@ bindkey "^[[H" beginning-of-line
bindkey "^[[1~" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[4~" end-of-line
-bindkey ' ' magic-space # also do history expansion on space \ No newline at end of file
+bindkey ' ' magic-space # also do history expansion on space
+
+
+# consider emacs keybindings:
+
+#bindkey -e ## emacs key bindings
+#
+#bindkey '^[[A' up-line-or-search
+#bindkey '^[[B' down-line-or-search
+#bindkey '^[^[[C' emacs-forward-word
+#bindkey '^[^[[D' emacs-backward-word
+#
+#bindkey -s '^X^Z' '%-^M'
+#bindkey '^[e' expand-cmd-path
+#bindkey '^[^I' reverse-menu-complete
+#bindkey '^X^N' accept-and-infer-next-history
+#bindkey '^W' kill-region
+#bindkey '^I' complete-word
+## Fix weird sequence that rxvt produces
+#bindkey -s '^[[Z' '\t'
+# \ No newline at end of file