Old question, but wonder where op ended up? I'm a tso ispf user on Z and I have been using vim without any issue on Linux, I used vimtutor for basics then using a book called Mastering Vim and one called practical Vim. And to bend it magically you can use Vimscript(tutorial is called learn vimscript the hard way)... it's got latex plug-ins as well and is purely terminal based. You will also find it installed as default more then any other editor around, especially the older Vi version.You can also look at the newer nvim which uses lua as opposed to vimscript(i am still gonna stick with Vim though not de used as yet about nvim)...