diff options
author | SomeDer <48731521+SomeDer@users.noreply.github.com> | 2019-08-19 11:14:22 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-08-19 12:14:22 +0200 |
commit | 97c0d0a563d2303adc64e94c78544bb4d2dbf83c (patch) | |
tree | 3f90d2308d1b9394fd12b4661c4da12e161400fd /plugins/sudo | |
parent | c4c620adcd0dadf8f3f0d6aa331780291b5bdacd (diff) | |
download | zsh-97c0d0a563d2303adc64e94c78544bb4d2dbf83c.tar.gz zsh-97c0d0a563d2303adc64e94c78544bb4d2dbf83c.tar.bz2 zsh-97c0d0a563d2303adc64e94c78544bb4d2dbf83c.zip |
Allow plugins sudo and thefuck to be loaded before vi-mode (#8087)
Diffstat (limited to 'plugins/sudo')
-rw-r--r-- | plugins/sudo/sudo.plugin.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/sudo/sudo.plugin.zsh b/plugins/sudo/sudo.plugin.zsh index 0b843822e..f405b025f 100644 --- a/plugins/sudo/sudo.plugin.zsh +++ b/plugins/sudo/sudo.plugin.zsh @@ -28,4 +28,6 @@ sudo-command-line() { } zle -N sudo-command-line # Defined shortcut keys: [Esc] [Esc] -bindkey "\e\e" sudo-command-line +bindkey -M emacs '\e\e' sudo-command-line +bindkey -M vicmd '\e\e' sudo-command-line +bindkey -M viins '\e\e' sudo-command-line |