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

> One of the reasons is that almost every other editor has the ability to use vim commands.

Really? It would have to be a modal editor to use vim commands. Emacs commands, on the other hand, could work with the vast majority of editors out there, and actually do work in many cases. readline, for example, which is used by bash and many other CLI programs uses emacs bindings. fish and zsh use them too.



> It would have to be a modal editor to use vim commands.

Or it would have to emulate them. Which is what VSCode, Atom, Visual Studio, Eclipse, Intellij, Netbeans, Kate all do. Those are just the ones I have used, I'm sure there are plenty of others.


That's not a trivial feature that "every other editor" can do, though.

> I'm sure there are plenty of others.

Emacs, for one.


On macOS, the standard widget for text input supports emacs-style shortcuts, too, which means you can use them pretty much everywhere. One of the few things I miss about macOS.


readline and ZLE (and indeed libedit/editline) provide both emacs and vi key bindings.




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

Search: