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

Co-authored-by: Chris Hamill <chamill@ets.org>
This commit is contained in:
cohml 2023-07-23 16:02:17 -04:00 committed by GitHub
parent b9354c5e9c
commit 338b9a615a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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