summaryrefslogtreecommitdiff
path: root/lib/key-bindings.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/key-bindings.zsh')
-rw-r--r--lib/key-bindings.zsh7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index 9f28d5761..5f499f3e8 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -3,7 +3,6 @@
bindkey -e
bindkey '\ew' kill-region
bindkey -s '\el' "ls\n"
-bindkey -s '\e.' "..\n"
bindkey '^r' history-incremental-search-backward
bindkey "^[[5~" up-line-or-history
bindkey "^[[6~" down-line-or-history
@@ -14,13 +13,19 @@ bindkey '^[[B' down-line-or-search
bindkey "^[[H" beginning-of-line
bindkey "^[[1~" beginning-of-line
+bindkey "^[OH" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[4~" end-of-line
+bindkey "^[OF" end-of-line
bindkey ' ' magic-space # also do history expansion on space
+bindkey "^[[1;5C" forward-word
+bindkey "^[[1;5D" backward-word
+
bindkey '^[[Z' reverse-menu-complete
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
+bindkey '^?' backward-delete-char
bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
bindkey "\e[3~" delete-char