From c8b32eb78c644b4c5499432e6e60f595c5a577b3 Mon Sep 17 00:00:00 2001 From: Kj Tsanaktsidis Date: Fri, 9 Jan 2026 19:11:42 +1100 Subject: fix zsh stuff --- homes/kjtsanaktsidis/zsh-config.zsh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/homes/kjtsanaktsidis/zsh-config.zsh b/homes/kjtsanaktsidis/zsh-config.zsh index 1c38138..a1ce1b3 100644 --- a/homes/kjtsanaktsidis/zsh-config.zsh +++ b/homes/kjtsanaktsidis/zsh-config.zsh @@ -1,7 +1,3 @@ -# Initialize completion system -autoload -Uz compinit -compinit - # Initialize prompt system autoload -Uz promptinit promptinit @@ -44,5 +40,15 @@ prompt_themes+=( gentoo ) # Use the gentoo prompt prompt gentoo +# keybindings +autoload -U edit-command-line +zle -N edit-command-line +bindkey -e +bindkey '^xe' edit-command-line +bindkey '^x^e' edit-command-line +bindkey "^[[3~" delete-char +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word + # Make sure GPG & SSH keys are properly imported systemctl --user start manage-secrets.service 2>/dev/null || true -- cgit v1.2.3