diff options
| author | Blista Kanjo | 2023-08-06 16:35:36 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-08-06 16:35:36 -0400 |
| commit | a0d519deccd49dd02cbde34265c278dca7cabb06 (patch) | |
| tree | 6d74f57f1f676ea885cd9132527b9752a063cf37 /.config/shell/.zshrc | |
| parent | 968b2289024e92d5f591906b0e4f262d76d540b7 (diff) | |
feat: `zsh-history-substring-search`
Diffstat (limited to '.config/shell/.zshrc')
| -rw-r--r-- | .config/shell/.zshrc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc index b13bfd9..aa60047 100644 --- a/.config/shell/.zshrc +++ b/.config/shell/.zshrc @@ -1,8 +1,9 @@ # source zsh extensions (order is important) -source ~/.config/shell/zsh-autosuggestions/zsh-autosuggestions.zsh -source ~/.config/shell/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh source ~/.config/shell/git-prompt.zsh source ~/.config/shell/git-prompts/kj_sh604.zsh +source ~/.config/shell/zsh-autosuggestions/zsh-autosuggestions.zsh +source ~/.config/shell/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +source ~/.config/shell/zsh-history-substring-search/zsh-history-substring-search.zsh # source ~/.config/shell/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh @@ -125,3 +126,7 @@ export LESS_TERMCAP_us=$'\e[1;4;33m' bindkey "^f" forward-word bindkey "^b" backward-word +bindkey "^[[A" history-substring-search-up +bindkey "^[[B" history-substring-search-down +bindkey -M vicmd "k" history-substring-search-up +bindkey -M vicmd "j" history-substring-search-down |
