From 9767c7fa749b491ac7ddcfc556e21ab7ce8ff47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Fri, 8 Mar 2024 23:55:51 +0100 Subject: [PATCH] 108 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 * --- modules/home-manager/zsh.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index 6be3539..deae71c 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -33,6 +33,21 @@ }; syntaxHighlighting.enable = true; syntaxHighlighting.highlighters = ["main" "brackets"]; + initExtra = '' + bindkey '^I' complete-word + bindkey '^[[Z' autosuggest-accept + # backspace + bindkey '^[[3' delete-char + # home / end go to beginning / end of line + bindkey '^[[H' beginning-of-line + bindkey '^[[F' end-of-line + # ctrl+arrow jump word + bindkey '^[[1;5D' backward-word + bindkey '^[[1;5C' forward-word + # ctrl+entf and ctrl+backspace delete word + bindkey '^[[3;5~' delete-word + bindkey '^H' backward-delete-word + ''; }; programs.starship = {