add keybinds for sanity

This commit is contained in:
Swarsel 2023-12-14 23:55:21 +01:00
parent aed78bb918
commit b04f4d6c1f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 4 additions and 4 deletions

View file

@ -1916,8 +1916,8 @@ zsh is clearly the most convenient shell for me and it happens to be super neat
};
historySubstringSearch.enable = true;
initExtra = ''
bindkey "^[D" backward-word
bindkey "^[C" forward-word
bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word
'';
};

View file

@ -672,8 +672,8 @@ programs.zsh = {
};
historySubstringSearch.enable = true;
initExtra = ''
bindkey "^[D" backward-word
bindkey "^[C" forward-word
bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word
'';
};