summaryrefslogtreecommitdiff
path: root/homes
diff options
context:
space:
mode:
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