Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is it possible to set up something like this for Vim? I am devoting this summer to learning one editor in depth, and I was thinking of going with Vim because it is on servers everywhere. But I've also chosen to deep dive into python and I love the ipython notebooks, so this could be handy


Stop with this "vim is on server everywhere", only vi is and it's pretty much useless compare to vim outside of text editing. Plus with emacs you edit the server directly from your machine via ssh with tramp, you don't ssh then open emacs on the server


Although i recently had a huge "woah" effect when i SSH'd into a server and wanted to edit a file using emacs. Turns out emacs recognized my X11 forward and i had a fully functional emacs GUI in front of me! I would never had expected this and also don't know any other editor that does this. :)


In a situation like that, `gvim` would have opened graphically as well. Although, different command to be sure.


Ok.. i ran vim thousands of times but never gvim.


Or even vim -g IIRC.


Sorry, didn't mean to offend you, and I did mean to write vi.

I was only looking at the best use of my time to deep learn an editor. I was considering sublimetext as well as emacs. I just thought Vim would be good, as long as I started with vi first and built on up to Vim. I say this after reading an interesting answer on Stack Exchange where some be goes off on the philosophy of vi. Was an interesting read and got me thinking.

Also I wanted the ability to use a simple ssh utility from my android or iOs tablet. Do you know of any good mobile implementations of emacs that would work with your idea of using tramp?


going with Vim because it is on servers everywhere

No it really isn't. At best you can probably rely on vi being on most *nix servers, but vi is not vim. So if that is your reasoning make sure you learn vi and not (only) vim.

Also if you are in a position where you might be dropped into some older and more obscure environments, make sure you have at least a working knowledge of ed.


I planned on learning Vi first, then moving on to the 'improved' part.

Thanks for the tip about ed, I can do the basics with it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: