1

I have tried many things such as add "set showmode" in .vimrc file and start vi with the command "vim" instead of just "vi". Nothing seems to work. I have another Mac and in that one the --Insert-- status does show up.

Any help is appreciated. Thanks!

Ramzendo
  • 576
  • 1
  • 5
  • 16

3 Answers3

1

vim will not show the mode if (later) in the settings you have

set compatible

That cancels and/or overrides most of the vim extensions. See these for discussion:

Community
  • 1
  • 1
Thomas Dickey
  • 51,086
  • 7
  • 70
  • 105
  • uhm! I tried that command and it only switches back to the old Vi but it won't fix the problem :( – Ramzendo Sep 06 '15 at 14:22
  • 1
    My comment was that if you had (or used) an initialization script which set nocompatible, then that could explain the problem. – Thomas Dickey Sep 06 '15 at 15:02
1

I was finally able to fix the problem. It seems that the status was always there but the text color was the same as the background (black). As soon as I changed the theme color, I was able to see the status --Insert--.

Ramzendo
  • 576
  • 1
  • 5
  • 16
1

if your trying status lines and term colours you might find this useful. https://github.com/FallenAngelTodd/vim-status lots used for setting different modes in the status line?