aboutsummaryrefslogtreecommitdiff
path: root/shell/zsh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-01-17 23:25:34 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-01-17 23:25:34 +0100
commit241314db066064eeea948ce3c9a40f90e86c53ee (patch)
tree6873f4c2bfe160b0dd8052a37a4aa16a84ff9b7b /shell/zsh
parent943643fd51110a6712d0c3e0bdbbd41a6c64a67a (diff)
.
Diffstat (limited to 'shell/zsh')
-rw-r--r--shell/zsh/.zshrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 949f913..01ce4ec 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -14,5 +14,8 @@ PROMPT='[%F{green}%n%f@%m %F{green}%~%f $(git_super_status)]$ '
. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
. /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
-bindkey '^[[A' history-substring-search-up
-bindkey '^[[B' history-substring-search-down
+bindkey '\e[1~' beginning-of-line # Home
+bindkey '\e[4~' end-of-line # End
+bindkey '\e[3~' delete-char # Delete
+bindkey '^[[A' history-substring-search-up # Up
+bindkey '^[[B' history-substring-search-down # Down