From 338b9a615a276240deaf4b6a26bb3abda204fe3f Mon Sep 17 00:00:00 2001 From: cohml <62400541+cohml@users.noreply.github.com> Date: Sun, 23 Jul 2023 16:02:17 -0400 Subject: [PATCH] fix(per-directory-history): ^G also in vi mode (#11808) Co-authored-by: Chris Hamill --- plugins/per-directory-history/per-directory-history.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/per-directory-history/per-directory-history.zsh b/plugins/per-directory-history/per-directory-history.zsh index 7cd673cdb..acbd64757 100644 --- a/plugins/per-directory-history/per-directory-history.zsh +++ b/plugins/per-directory-history/per-directory-history.zsh @@ -81,6 +81,7 @@ function per-directory-history-toggle-history() { autoload per-directory-history-toggle-history zle -N per-directory-history-toggle-history bindkey $PER_DIRECTORY_HISTORY_TOGGLE per-directory-history-toggle-history +bindkey -M vicmd $PER_DIRECTORY_HISTORY_TOGGLE per-directory-history-toggle-history #------------------------------------------------------------------------------- # implementation details