禁用vim - INSERT - 消息

jvi*_*tti 8 vim macvim

当我进入插入模式时,vim显示-- INSERT --在我的状态栏下方(当然所有模式都会出现,只是显示一个例子):

在此输入图像描述

鉴于我已经在我的状态栏中显示当前模式,有没有办法禁用这个-- INSERT --纯粹的美学?

我一直在帮助部分和谷歌潜水,但找不到办法.这是可能的,还是我应该学会忍受它?

FDi*_*off 10

这由showmode设置控制.加

set noshowmode
Run Code Online (Sandbox Code Playgroud)

到你的vimrc来禁用该消息.帮助:h 'showmode'将复制如下.

                                 'showmode' 'smd' 'noshowmode' 'nosmd'
'showmode' 'smd'        boolean (Vim default: on, Vi default: off)
                        global
        If in Insert, Replace or Visual mode put a message on the last line.
        Use the 'M' flag in 'highlight' to set the type of highlighting for
        this message.
        When XIM may be used the message will include "XIM".  But this
        doesn't mean XIM is really active, especially when 'imactivatekey' is
        not set.
        NOTE: This option is set to the Vi default value when 'compatible' is
        set and to the Vim default value when 'compatible' is reset.