Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabling vim's -- INSERT -- message

Tags:

vim

macvim

When I go to insert mode, vim displays -- INSERT -- below my status bar (happens with all modes of course, just showing an example):

enter image description here

Given I'm already showing the current mode in my status bar, is there a way to disable this -- INSERT -- for pure aesthetics?

I've been diving in the help sections and google, but couldn't find a way. Is this possible, or should I learn to live with it?

like image 319
jviotti Avatar asked Apr 30 '15 23:04

jviotti


1 Answers

This is controlled by the showmode setting. Add

set noshowmode

to your vimrc to disable the message. The help for :h 'showmode' is copied below.

                                 '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.
like image 149
FDinoff Avatar answered Nov 15 '22 18:11

FDinoff