From 3b538ccaf433077d9d78bfc6de676501a4a7aae0 Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 12 Dec 2024 16:58:05 +0300 Subject: [PATCH] zsh mappings --- home/user/.config/zsh/completion | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home/user/.config/zsh/completion b/home/user/.config/zsh/completion index 9c3002c..9facaf3 100644 --- a/home/user/.config/zsh/completion +++ b/home/user/.config/zsh/completion @@ -38,6 +38,15 @@ zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f' zstyle ':autocomplete:*' min-input 3 zstyle ':autocomplete:*' delay 0.1 + +bindkey -M menuselect '^h' vi-backward-char +bindkey -M menuselect '^k' vi-up-line-or-history +bindkey -M menuselect '^j' vi-down-line-or-history +bindkey -M menuselect '^l' vi-forward-char +bindkey -M menuselect '^e' undo +bindkey -M menuselect '^[' cancel +bindkey -M menuselect '^M' check-command + compdef _directories _d compdef _files _f compdef _directories mcd \ No newline at end of file