Ctrl-Left/Right triggers forward/backwards-word

This commit is contained in:
♥ Minnie ♥ 2024-07-28 10:15:16 +08:00
parent 7e5410cf20
commit b08d54abb6
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -59,6 +59,8 @@
eval "$(direnv hook zsh)"
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
path+=('/home/sajenim/.local/bin')
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
export PATH
PROMPT='%F{blue}%n@%m %F{cyan}%~ %F{red} %f';
'';