summaryrefslogtreecommitdiffstats
path: root/zshinput
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-03-01 02:47:42 -0600
committerJesse Luehrs <doy@tozt.net>2012-03-01 03:02:33 -0600
commit7e9f161607087ad7c733c6eb776f372a52998180 (patch)
treeb9993ab93f7fe6ff6a7e03a08420aa0f71c80713 /zshinput
parent3b861f796f21980ac2b5863e0e442e64708f4a5b (diff)
downloadconf-7e9f161607087ad7c733c6eb776f372a52998180.tar.gz
conf-7e9f161607087ad7c733c6eb776f372a52998180.zip
add zsh configuration
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