aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-12-03 23:50:07 +0200
committersrdusr <trevorgray@srdusr.com>2022-12-03 23:50:07 +0200
commitf9ce04da41059391c6e0193ccb4dd8c2fdadc3f2 (patch)
tree8e5305cd1856c94095a122188963822bc7d846ea /.config/zsh
parent1c935f6cb26205670a623855cd3107dbad573fbc (diff)
downloaddotfiles-f9ce04da41059391c6e0193ccb4dd8c2fdadc3f2.tar.gz
dotfiles-f9ce04da41059391c6e0193ccb4dd8c2fdadc3f2.zip
Changed binding for history-search-forward/backward to alt-j/k
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 6632b9b..bf3c734 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -236,8 +236,8 @@ bindkey "^W" backward-kill-word
bindkey "^H" backward-delete-char # Control-h also deletes the previous char
bindkey "^U" backward-kill-line
-bindkey "^N" history-search-forward # or you can bind it to the down key "^[[B"
-bindkey "^P" history-search-backward # or you can bind it to Up key "^[[A"
+bindkey "^[j" history-search-forward # or you can bind it to the down key "^[[B"
+bindkey "^[k" history-search-backward # or you can bind it to Up key "^[[A"
bindkey '^X' autosuggest-execute
bindkey '^Y' autosuggest-accept