this post was submitted on 27 Feb 2025
268 points (95.9% liked)
linuxmemes
22838 readers
595 users here now
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.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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?
For me, it's that it is shorter to type 0. Also I cannot somehow recall 2 letter commands
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.
you can change that if it bothers you
yeah ik, I'm just curious about how people deal with it
Most nvim users I know have their setup very much customized. That takes time, effort and is a pita. But afterwards you have a tool that just works like you want it to work, and is super fast (at least compared to VSCode).
Muscle memory mostly. I miss vim keybinding when I have to type in anything else, including Lemmy.
You could also do
I
orA
followed byesc
for the same effect.Most often though I use
/
or?
to just go specifically where I want.Yeah, it's a dinosaurs tool for people who refuse to adapt to new stuff.
Imagine thinking modern IDE are more efficient than vi π―
Curser is more intuitive, I agree, but you will never win a code race against similar skilled coder on vi..
Coding isn't a race, it's a team sport. And if you think its not, you're in the wrong profession.
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.
Nano is for that purpose
It is a pain for larger files. It small and light but doesn't have the same featureset.
Nano is for people that are too lazy to learn vi if they much time (ergo not needing it)or have too less time to learn it (even tho, they would get so much time back in return, if they would learn vi)
This applies only to people that regularly work with GUIless headless machines
Okay I kinda get it if you regularly write scripts or configs on headless machines, though even then I'd think using just vscode remote development plugin would be my tool of choice.
Usually I use nano if I just need to do a quick change to a file, or even on my personal device if it requires sudo (such as apt sources or fstab) and I do it just once so don't bother thinking how to use sed for it
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.
Vim actually has pretty good mouse support too if you turn it on!
for Firefox there's now Vimium-c and Tridactyl. personally using Vimium and its been great
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