Browse Source

fix(per-directory-history): ^G also in vi mode (#11808)

Co-authored-by: Chris Hamill <chamill@ets.org>
cohml 10 months ago
parent
commit
338b9a615a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/per-directory-history/per-directory-history.zsh

+ 1 - 0
plugins/per-directory-history/per-directory-history.zsh

@@ -81,6 +81,7 @@ function per-directory-history-toggle-history() {
 autoload per-directory-history-toggle-history
 autoload per-directory-history-toggle-history
 zle -N per-directory-history-toggle-history
 zle -N per-directory-history-toggle-history
 bindkey $PER_DIRECTORY_HISTORY_TOGGLE 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
 # implementation details