Add key bindings for left and right cursor navigation in Zsh autocomplete selection, as it caused issues

This commit is contained in:
2026-02-19 11:55:37 +01:00
parent e8a125b43f
commit f9c152688a

View File

@ -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
'';
};