ZSH: add key binding to skip words
This commit is contained in:
parent
2f925428ed
commit
741c17aac5
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue