1
0
Fork 0

ZSH: add key binding to skip words

This commit is contained in:
Aires 2024-10-18 11:45:40 -04:00
parent 2f925428ed
commit 741c17aac5

View file

@ -1,5 +1,5 @@
# Additional ZSH settings via Home Manager # Additional ZSH settings via Home Manager
{ pkgs, ... }: { ... }:
{ {
programs = { programs = {
# Set up Starship # Set up Starship
@ -18,6 +18,9 @@
echo -ne "\033]0; $(basename "$PWD") \007" echo -ne "\033]0; $(basename "$PWD") \007"
} }
precmd_functions+=(set_win_title) precmd_functions+=(set_win_title)
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
''; '';
}; };
}; };