fix: Set proper keybindings for zsh
All checks were successful
CI / Format Check (push) Successful in 3s
CI / Flake Check (push) Successful in 1m42s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 10s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 11s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 7s
CI / Evaluate Artifacts (installer-iso-nix-laptop1) (push) Successful in 16s
CI / Evaluate Artifacts (lxc-nix-builder) (push) Successful in 11s
All checks were successful
CI / Format Check (push) Successful in 3s
CI / Flake Check (push) Successful in 1m42s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 10s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 11s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 7s
CI / Evaluate Artifacts (installer-iso-nix-laptop1) (push) Successful in 16s
CI / Evaluate Artifacts (lxc-nix-builder) (push) Successful in 11s
This commit is contained in:
12
sw/theme.nix
12
sw/theme.nix
@@ -33,6 +33,18 @@ in
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
||||
initContent = ''
|
||||
bindkey '^[[H' beginning-of-line # Home key
|
||||
bindkey '^[[F' end-of-line # End key
|
||||
bindkey '^[[3~' delete-char # Delete key
|
||||
bindkey '^[[1~' beginning-of-line # Alternative Home key
|
||||
bindkey '^[[4~' end-of-line # Alternative End key
|
||||
bindkey '^[[2~' overwrite-mode # Insert key
|
||||
bindkey '^[[5~' up-line-or-history # Page Up
|
||||
bindkey '^[[6~' down-line-or-history # Page Down
|
||||
bindkey -e
|
||||
'';
|
||||
|
||||
# Plugins
|
||||
historySubstringSearch = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user