nick nick - 1 year ago 111
Linux Question

Putty doesn't show vi mode

I'm using putty,I found when I use vi in putty,the vim mode doesn't show.I mean each time when I tapped 'i' to enter insert mode,I wished vim will show '--INSERT MODE--' at the bottom ;however,there was nothing changed in my vim editor in putty.

I want to know why,especially,how to make vim editor show '--INSERT MODE--' each time after I tap 'i' and enter insert mode,this prompt is very important to me to avoid misuse!

Answer Source

Put the following line in your .vimrc file. It will show the current mode on the last line.

set showmode