Nano is just better and I'll happily die on this hill
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Emacs
(ducks)
Vi hasnβt been updated since 2005. Arenβt everyone just using vim or neovim?
I use whatever the machine gives me when I type vi
, I assume it's usually vim
Huh, vi
for me has always been actual vi, not vim. Didn't know some systems symlink vi to vim.
Java? vi!
COBOL? vi!
SVG? Believe it or not, vi!
/s
BMP? vi and control-v!
WAV? There's probably a plugin for that!
VI is life
If you don't have one to begin with, sure, I guess. For everyone else, there's Nano.
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.
Modern βviβ is typically a symlink to vim, and as long as compatibility is disabled itβs very useful; especially when working over ssh or quick and dirty config editing that doesnβt warrant a full blown ide to be started up.
Literally the only thing I code in at work. Have done so for decades.
Can't stop, won't stop.
how do you tolerate the 0 and $ to jump to the ends? it's so painfully inconvenient and made me switch to helix where it's g->h and g->l. do you not use the default keymap?
Shift-A and Shift-I to append at the end or insert at the start.
Once you know the system, it's much easier to do everything without having to take your hands off the keyboard to use a mouse.
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!
it's not everyone's cup of tea, and that's fine. It's not awful though. Arcane, yes. very powerful? also yes.
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.
tbh they probably can, it's just more ctrl
involved
Probably!
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