summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-02 18:27:49 +0200
committerKyren223 <Kyren223@proton.me>2024-11-02 18:27:49 +0200
commit97a2d5c3a348e273ec4d41f84f842f9316110b67 (patch)
tree34041c3e4b897cea4dd09dd360df406d1a7619b5
parent4aa0236b58c02fc4cdc513dcadf852cdd90b1378 (diff)
Fixed issue with accepting suggestions
-rw-r--r--.zshrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index 5a35336..6926ffa 100644
--- a/.zshrc
+++ b/.zshrc
@@ -26,7 +26,7 @@ autoload -Uz _zinit
zinit ice wait lucid && zinit light zsh-users/zsh-syntax-highlighting
zinit ice wait lucid && zinit light zsh-users/zsh-completions
zinit ice wait lucid && zinit light Aloxaf/fzf-tab
-zinit ice wait lucid atload'_zsh_autosuggest_start' && zinit light zsh-users/zsh-autosuggestions
+zinit ice wait lucid atload'_zsh_autosuggest_start bindkey "^y" autosuggest-accept' && zinit light zsh-users/zsh-autosuggestions
zinit ice depth=1 wait lucid && zinit light jeffreytse/zsh-vi-mode
# # Zsh snippets
@@ -59,11 +59,8 @@ zinit load zdharma-continuum/null
# zle -N zle-line-init
# # Keybindings
-# bindkey -v
-bindkey '^y' autosuggest-accept
bindkey '^p' history-search-backward
bindkey '^n' history-search-forward
-# bindkey '^[w' kill-region
# # History
HISTSIZE=5000