summaryrefslogtreecommitdiff
path: root/homes
diff options
context:
space:
mode:
authorKj Tsanaktsidis <kjtsanaktsidis@groq.com>2026-01-09 19:11:42 +1100
committerKj Tsanaktsidis <kjtsanaktsidis@groq.com>2026-01-09 19:11:42 +1100
commitc8b32eb78c644b4c5499432e6e60f595c5a577b3 (patch)
tree1441dcc87475d602560386dc956b76dd5d76ef2a /homes
parent9c0398d0e8585149479ab84ec705f04da97a0812 (diff)
fix zsh stuff
Diffstat (limited to 'homes')
-rw-r--r--homes/kjtsanaktsidis/zsh-config.zsh14
1 files 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