Update keybinds and terminfo

This commit is contained in:
Arnie 2025-01-08 22:26:10 +01:00
parent 2f4c10fa92
commit 6cedce9ec3
2 changed files with 28 additions and 21 deletions

View File

@ -112,6 +112,7 @@ in
font-size = 10; font-size = 10;
window-width = 9999; window-width = 9999;
window-height = 9999; window-height = 9999;
keybind = [ ];
}; };
}; };
@ -120,6 +121,7 @@ in
shellAliases = { shellAliases = {
hm-switch = "home-manager switch --impure --flake ~/.config/nix"; hm-switch = "home-manager switch --impure --flake ~/.config/nix";
configure-ssh-terminfo = "f(){ infocmp -x | ssh \"$@\" -- tic -x -; unset -f f; }; f";
}; };
dirHashes = { dirHashes = {
mac = "${homedir}/storage/.macshare"; mac = "${homedir}/storage/.macshare";

View File

@ -45,6 +45,11 @@ in
for file in ${zshSourceCommon}/*.zsh; do for file in ${zshSourceCommon}/*.zsh; do
source "$file" source "$file"
done done
# [Ctrl-RightArrow] - move forward one word
bindkey '^[[1;3C' forward-word
# [Ctrl-LeftArrow] - move backward one word
bindkey '^[[1;3D' backward-word
''; '';
}; };
} }