From e093e10482c9952f3014f9385e04209cfe76db7b Mon Sep 17 00:00:00 2001 From: darkclip Date: Fri, 16 Feb 2024 06:56:21 +0800 Subject: [PATCH] update --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 69d5722..8ff6bd8 100644 --- a/.zshrc +++ b/.zshrc @@ -26,7 +26,9 @@ bindkey "^[[3;5~" delete-word #C-Delete # End of lines configured by zsh-newuser-install source /usr/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh -bindkey -M menuselect '\r' .accept-line +bindkey -M menuselect "\r" .accept-line +bindkey -M menuselect "^[[D" .accept-line +bindkey -M menuselect "^[[C" .accept-line # The following lines were added by compinstall zstyle ':completion:*' menu select zstyle ':completion::complete:*' gain-privileges 1