aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-10-23 21:15:03 +0200
committerbozo.kopic <bozo@kopic.xyz>2021-10-23 21:15:03 +0200
commitf4b1af3b990e9d724f49ecc4f735e48c6884b6e4 (patch)
treec808e12bedbb30cf2ac4a49e6a0f2b9705d242e0 /shell
parentfa5dd5f3c014a250b1748c340255d8b4d0b7d773 (diff)
.
Diffstat (limited to 'shell')
-rw-r--r--shell/zsh/.zshrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 1d7d2b4..0b133b8 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -16,8 +16,11 @@ 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 '\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
+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
+
+bindkey '^[[1;5D' backward-word # Ctrl+Left
+bindkey '^[[1;5C' forward-word # Ctrl+Right