I'll probably use nvim now since we can remotely control it with python or what have you.
However, there are annoyances in moving over (I'm on 0.1.3).
By default, the ruler isn't there. You don't automatically get the current line number.
By default, if you attempt to use your mouse to copy some text, it'll modify nvim's visual mode. I just want to paste some text to the X clibboard buffer (there are probably better way but meh).
By default, there's an annoying white statusline at the bottom of the page.
By default, set list doesn't show the eol character.
You can avoid all this by putting this in yout .config/nvim/init.vim file:
set listchars=tab:-\ ,trail:-,nbsp:+,eol:$
In addition, in gnu screen or tmux, the escape key is harder to press. You can put maptimeout 10 in your .screenrc to fix in this gnu screen. It's something to do with nvim using a new library for user input, I believe.
It uses--for perfectly good reasons I'm sure--XDG the .config directory for its configuration. So move your .vimrc file to ~.config/nvim/init.vim Or don't if you're only messing around: hello.
A useless aside: I really have no idea why we're using `.config` these days. Aren't all the directories prefixed with `.` for configuration? Anyway--as with all of life's great challenges--I guess I'll acclimatise.
Right, so now we've got vim up and running. We need to find the socket we need to connect to it. So run this in normal mode and copy the result. It'll likely be a file in /tmp/.
Now we've got that address let's control neovim from python. Let's install python, pip3 and the neovim python module:
apt-get install python3-pip
pip3 install neovim
Now we've got python3 (python2 works as well I hear, but let's live on the bleeding edge), we can attach to the instance and send a command to nvim. Run python3 and issue this load of commands:
>>> from neovim import attach
>>> nvim = attach('socket', path='WHATEVER THE ABOVE SOCKET NAME WAS')
>>> nvim.command('echo "yalright there eh"')
And--behold--neovim is bidding our every command. REJOICE!