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

Not everyone wants to use a terminal editor and of those people, not everyone wants to use vscode.


Learning a terminal editor will save your ass at 3am when production goes down. No joke.


Learning a client-server editor will save your nerves when developing on a remote machine with 200ms ping


Vim and emacs both also support editing remote files.


"Support editing remote files" and "work with all plugins on remote that feels like editing on local machine" are different things


Just to clarify, for vim I'm talking about the scp:// thing, for emacs there is of course TRAMP. In both cases you're running a local editor and fetching the remote file, then sending it back when making changes. So your plugins and such should work just fine. I am not talking about sshing into the machine and running vim or emacs as a TUI on that remote machine, which is also possible with both editors.


learning both is fun!


Learning and wanting to use as a daily driver are very different things.

I use vim on my servers and for writing git commit messages. For everything else, I use another editor (used to be Sublime Text, then Vs code, now Zed).


Nailed it. I'm fine with using vim to do remote work. I'm not an expert, but I have enough muscle memory to zip through the things I need to do. I don't want to use it exclusively, though. Turns out I'm capable of learning my way around multiple tools and using different ones in different contexts. Who knew?


I don’t say I don’t know how to use one. I was a longtime vim and then neovim user. But I don’t want to use one.

I still use vim for quick terminal edits, git commit messages, and doing stuff over ssh. But for my day to day heavy text editing, I do not want to sit in a terminal and be limited by what a terminal can display.


Thats why nano exists.

At 3am i am not in the mood trying to remember where my 714 page how to save a file and exit vim manial is


I seem to hear this a lot, but there's probably like 10 commands (maybe a few more if you want to be fancy with copy-paste). Note: great if you like nano however!

For those that are interested, this will get you 90% there:

exit without saving> :q!

exit with saving> :wq

beginning of line> 0

end of line and edit (enter insert mode)> shift-a

delete line> dd

insert mode> i

stop insert mode> ESC

undo> u

show line numbers> :set number

go to line number (e.g line 5)> :5


It is easier to remember one command: `nano <file>`


+1, nano even gives you a handy hint bar at the bottom in case you forget any of its' shortcuts




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

Search: