vi-mode: disable displayed mode on startup
This change had the unintended consequence of overriding the functions to ensure
that application mode was set to use $terminfo sequences, introduced in #6449.
Fixes #7137
Diff
1diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh
2index 6cadd166a225f8c880cfa0534e8e60729957f32f..93964594b2c9691cce884a8bb65f9849a31a6473 100644
3--- a/plugins/vi-mode/vi-mode.plugin.zsh
4+++ b/plugins/vi-mode/vi-mode.plugin.zsh
5@@ -4,11 +4,6 @@ function zle-keymap-select() {
6 zle -R
7 }
8 9-# Ensures that MODE_INDITCATOR is displayed on terminal start up.
10-function zle-line-init() {
11- zle reset-prompt
12-}
13-
14 # Ensure that the prompt is redrawn when the terminal size changes.
15 TRAPWINCH() {
16 zle && { zle -R; zle reset-prompt }