nick nick - 6 months ago 10
Linux Question

Why doesn't PuTTY show the vi mode I'm in?

I'd like vi to show

-- INSERT MODE --
whenever I tap I to enter insert mode, but it doesn't show such a message when I use it with PuTTY.

Why does it happen? And how do I make Vim display the mode I'm in? This is very important for me to get it right the first time.

Answer

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

set showmode