Team Vim. Because I learned the vim basics once 20 years ago and never bothered to learn after that. :D
post
At the risk of restarting the Editor wars (https://en.wikipedia.org/wiki/Editor_war) from days of yore, I find it interesting that emacs wasn't even in your list of contenders. I hear it mentioned less frequently these days, so perhaps it's going by the wayside?
For the record, I'm a vi/vim user! I had the privilege of being taught to use it by an RFC-writing greybeard decades ago, and have used it without thinking ever since.
For those who find themselves on a machine with only vi/vim, or want to learn, here's a quick primer when editing a file (usually done by typing "vi foo.txt" in a shell) --
:q! ...Force quit vi (:q also works -- gentler!)
:wq! ...Save file and quit vi
i (then type characters) ...insert text at current position
A (then type characters) ...Insert at end of current line
G ...go to first character of last line in the file
/foo ...search for first occurrence of "foo" in the file (hit / again to find additional instances)
x ...Delete character under cursor
:56 ...Go to line 56
yy ...Copy the line the cursor is currently on into the buffer
p ... Paste the buffer
r (then type character) ...Replace character under cursor
u ...undo (hit multiple times to undo prior actions)
When done with a command like this, hit Esc to go back into normal mode.
Second nature after a bit of practice! I used to work with a guy who insisted on using ed. That was... odd.
Yeah but op was comparing editors, not OS's. https://emacsos.dev/
I use Helix... Uhhh idk I think it's nice I guess
There are dozens of us!
micro for sensible defaults out of the box, and because I don't like modal editors.
nano. I can't memorize esoterica.
Nano, because it's the only one I can remember how to quit from without power cycling the computer.
nano for quick things; emacs for longer typing sessions.
NANO I just need simple, and tell an me how to save and exit without abstract key codes.
I'm an emacs -nw kind of guy.
But if I have to pick one of your options, nano
Emacs.
With all the vimmery going around nowadays though, I feel like I'm on the losing team. ;_;
I use nano because I haven't learned how to use anything else yet.
I use nano because it's always there.
I only ever use a terminal based editor for making quick edits of config files, so nano works just fine for me.
Helix when I can install things, vi when I can't.
I have switched to using helix, so no matter which distro I am on I need to change it to be my default by setting the EDITOR env var.
"Why are we running from the police, Dad?"
"Because they use vim, son. We use Emacs".
I realized that I'd forgotten about pico and joe, the latter was my very first text editor (hated it!).
Vim forever, any flavour, don't care.
Why? Does actually exist anything else for the terminal?
Neovim. One time I accidentally opened nano and couldn't figure out how to get out of it... Wtf is with those keybinds?
Lol at emacs not even being on your list. Suck it, emacs users 😂😂❤️
Firstly, Emacs is not an alternative to any terminal based text editor, it's an alternative to the terminal based workflow in general.
Secondly, Emacs users can live without the hype, churn and elitism of the vim ecosystem and with a better editor instead.
@SocialistVibes01 Emacs of course
I used to use Neovim but now I mainly use Helix, it's really good by default, the most hassle is usually just looking up an LSP for a language and installing it.
My config file literally only has the theme I use, unlike the heavy configs I'd have to make so that vim/nvim are the way I want. I also like the multiple cursor approach it has to editing.
I use nano for quick edits. I don't know more than the basics of vim, and don't do a lot of editing on the terminal so I haven't needed to.

top 50 comments