I'm having some strange issues working with vim editing files in an ssh session on a remote linux (Ubuntu 13.04 ) server. On the client side, I'm on a mac running OS 10.8.4 (late 2012 mac mini). I've googled around extensively on this and came up empty handed. I've used vim for years, and I've never seen problems like this before.
The issues all present themselves when I first load the file in vim. I've experienced the following issues:
The top couple of lines are missing. Using arrow keys or the top of file shortcut, I can simply not get to these lines.
Sometimes, when attempting to delete a character, an entire word or words will be deleted.
The result of yank and put is inconsistent. Sometimes the line appears correctly, other times all I get is a jarbled mess.
Am I using the wrong version of vim remotely or some terminal problem specific to Mac OS?