VI is love, VI is life
VI is love, VI is life
VI is love, VI is life
Is no one gonna talk about neovim or are we all just like set the alias and forgot that we are inside neovim and not vim or vi
The comments on this post went exactly like they have over the past 20 years, with one exception.
Emacs is all but forgoten.
Vim wins.
There we are. Now all is right with the world.
What would an editor discuss be without those that support Emacs?
I noticed we even got some doom evil advocates! Lemmy truly has come off age!
(Note: as tone is hard on text: I'm genuinely pleased, and agree that the joy of Linux/Unix is it's variety. Thank you everyone)
Recently, I recommended to a friend that basic vim/vi is worth learning because it's a baseline that you can always trust will be there across different Linux systems.
They asked me what I used most on my home system, and the answer was emacs, but I was very clear that I was not recommending it. It's a particular kind of person who finds themselves at home in emacs, and for everyone besides those people, selling them on emacs would feel like persuading them to do hard drugs.
Be real fukin careful now. You’ll tear my enacs from my cold dead hands
(But yeah, I use evil-mode. Also I edit files on remote servers with vim. I’m a traitor…)
When people are free to choose the best editor for them, we ALL win.
Unless it happens to be Ms word, in which case we all lose
I think there's a good reason for that. If you're not as concerned about resource consumption (Emacs used to be called "Eight Megabytes and Constantly Swapping", back when 8MB was a lot), then there's no reason to avoid even more complex and resource intensive IDEs. People who wanted a complex editor, but in a relatively small footprint, stuck with some variant of vi.
Thus, vi found a stable evolutionary niche. It's a tardigrade.
you have offended all 6 of us, prepare for retribution
Sorry maybe I'm dumb. But does this mean VIM and Obsidian are Vi?
Vi is actually a predecessor to Vim but many people, myself included, will alias Nvim or Vim to Vi. And I've seen people use Vi as a catch all too.
Coding in Ansible?
You write Ansible playbooks to automate infrastructure management. But calling it a coding language might be a stretch it is just yaml
Emacs
(ducks)
I use vi from an Emacs Shell, which was spawned from an Emacs GUI.
bro tryin' to summon a demon... /s
Emacs is what the unified linux desktop should be
I dislike Evil, and would never recommend it to anyone looking for a modal editing solution for Emacs. I would rather break my pinky with the modifiers than use Evil.
noun verb
syntax rather than vi's verb noun
syntax. This means that you get constant feedback about what you’re acting on before you act on it, since objects are always highlighted.Instead, for anyone looking for a serious and actually good modal editing, I would suggest them to try out meow. It fixes all of the problems I mentioned above, and makes more improvements to the vi
experience that I didn't mention.
Emacs
It's a sound choice. I don't like to use it, personally, because I want to use something that uses same motions and syntax as editors on servers that I don't own (ex. customers). And, I'm not a fan of Lisp. It's a great and (self-)extensible text editor/lisp interpreter, though.
This is the way.
No
Vi hasn’t been updated since 2005. Aren’t everyone just using vim or neovim?
Editing excel spreadsheet? VI
Excel files (.xlsx) is just an archive of some XML files and whatnot, so sure you could edit them in vim.
Though I'd rather edit them in CSV format
Java? vi!
COBOL? vi!
SVG? Believe it or not, vi!
/s
SVG, unironically yes. There's a few times where I found a library or WYSIWYG editor making some strange choices for its SVG output, and I had to fix it manually.
BMP? vi and control-v!
WAV? There's probably a plugin for that!
Ah, nice one! Didn't realize it could even be done.
It isn't as dumb as it sounds, honestly! I used to use DBeaver and it is a fantastic project, but I really wanted Vim keybinds to construct my queries as they can sometimes be quite large. There used to be a plugin that added the functionality but it stopped working on my machine. This Vim plugin is essentially a wrapper for the CLI SQL client (psql in my case), so using it actually kind of makes sense, I think.
The biggest issue I faced was exporting the results, but I just created a function in my ~/.vimrc that copies all the text of the results to a new tab and formats it however I want. CSV, HTML, JSON, XML, Markdown, whatever I need is all there and predefined. All I have to do is call :ExportToMarkdown
and off I go.
Bro you forgot the 'm' at the end of vi
And the i, c, r, and o. In fact keep the vi.
Everyone at work is using Cursor these days, except for me using neovim and my emacs loving coworker. When we present during pair programming our coworkers go nuts over watching our workflows and trying to figure out if they can do similar things in Cursor lol.
What is Cursor, another AI-infested slop?
It's a version of VSCode with deep AI integration. I'll say, it's pretty good from a workflow perspective. But I just use Avante to similar effect.
Neovim and emacs are both incredibly heavy. I would rather just use something like VScodium.
Nano and Vim are small and quick.
I would like you to open the same file in neovim, Emacs, and vscodium and see the ram usage.
Matter of fact I've done this for you (230 line json):
heavily customised emacs: 34 MB
heavily customised neovim: 32 MB
Newly installed vscodium: 300 MB+
both emacs and neovim have syntax highlighting, completion, mouse support, terminal support, window management, and so on
Op, what do you find more offputting: emacs or neovim?
in highschool my physics teacher used vim to write stuff, like most times when checking if everyone was in class he'd just open vim and type people's name in there
I know this is supposed to be a joke. But, VI is awful, and i can't believe anybody would use that over a modern editor. But, I know some people who like it.
Literally the only thing I code in at work. Have done so for decades.
Can't stop, won't stop.
I prefer vim, but vi is nice too. (I miss Vimperator for Firefox)
It’s just so fast when you get it down. It works well with a cli-only work flow. Why use mouse when type very fast?
There’s immense pleasure and honor in writing C the way our ancestors did.
Why use mouse when type very fast?
Vim actually has pretty good mouse support too if you turn it on!
If you liked vimperator, you might like https://qutebrowser.org/
it's not everyone's cup of tea, and that's fine. It's not awful though. Arcane, yes. very powerful? also yes.
Most people just use vim
Well, "vi is love" is something I always see as "masochism is related to sex".
VI is life
If you don't have one to begin with, sure, I guess. For everyone else, there's Nano.
Skill issue
Vi has a shit design issue
I like micro
This is the best answer
Nano is just better and I'll happily die on this hill