From 0591593c7b90efba028e71d36375523625219b2c Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 24 Jun 2024 16:19:29 +0200 Subject: [PATCH] Add edit mode to zsh command line --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index c62afa4..1e6b0f6 100644 --- a/zshrc +++ b/zshrc @@ -16,6 +16,10 @@ setopt hist_find_no_dups setopt prompt_subst setopt hist_ignore_space +autoload -z edit-command-line +zle -N edit-command-line +bindkey -M vicmd '\' edit-command-line + autoload -U compinit; compinit bindkey -v