I currently use MacVim for a lot of my editor needs but occasionally I need to edit files remotely over SSH. In MacVim the shape of the cursor varies depending on your current mode, i.e.
command mode -> block cursor and insert mode -> vertical bar cursor, which I find very helpful.

Is there a way to replicate this behavior in a .vimrc file, so that it can be used remotely?

Edit
Report