Add key bindings for left and right cursor navigation in Zsh autocomplete selection, as it caused issues
This commit is contained in:
@ -21,6 +21,10 @@
|
||||
promptInit = ''
|
||||
source ${pkgs.zsh-autocomplete}/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# Make ← and → move the cursor on the command line, even when in the menu
|
||||
bindkey -M menuselect '^[[D' .backward-char '^[OD' .backward-char
|
||||
bindkey -M menuselect '^[[C' .forward-char '^[OC' .forward-char
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user