summaryrefslogtreecommitdiffstats
path: root/zshinput
diff options
context:
space:
mode:
Diffstat (limited to 'zshinput')
-rw-r--r--zshinput10
1 files changed, 10 insertions, 0 deletions
diff --git a/zshinput b/zshinput
new file mode 100644
index 0000000..bcc2eb8
--- /dev/null
+++ b/zshinput
@@ -0,0 +1,10 @@
+autoload history-search-end
+zle -N history-beginning-search-backward-end history-search-end
+zle -N history-beginning-search-forward-end history-search-end
+bindkey "^[[A" history-beginning-search-backward-end
+bindkey "^[[B" history-beginning-search-forward-end
+
+bindkey "^?" backward-delete-char
+bindkey "^H" backward-delete-char
+
+bindkey "^[[3~" delete-char