mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
Allow plugins sudo and thefuck to be loaded before vi-mode (#8087)
This commit is contained in:
1 parent
c4c620adcd
commit
97c0d0a563
2 files changed
+6
-2
No files matched your search
@@ -28,4 +28,6 @@ sudo-command-line() {
|
|||||||
}
|
}
|
||||||
zle -N sudo-command-line
|
zle -N sudo-command-line
|
||||||
# Defined shortcut keys: [Esc] [Esc]
|
# 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
|
||||||
@@ -15,4 +15,6 @@ fuck-command-line() {
|
|||||||
}
|
}
|
||||||
zle -N fuck-command-line
|
zle -N fuck-command-line
|
||||||
# Defined shortcut keys: [Esc] [Esc]
|
# Defined shortcut keys: [Esc] [Esc]
|
||||||
bindkey "\e\e" fuck-command-line
|
bindkey -M emacs '\e\e' fuck-command-line
|
||||||
|
bindkey -M vicmd '\e\e' fuck-command-line
|
||||||
|
bindkey -M viins '\e\e' fuck-command-line
|
||||||
Reference in new issue
Block a user