this post was submitted on 27 Feb 2025
469 points (96.4% liked)

linuxmemes

22941 readers
1024 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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
    [–] [email protected] 10 points 5 days ago (5 children)

    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.

    [–] [email protected] 37 points 5 days ago (2 children)

    Literally the only thing I code in at work. Have done so for decades.

    Can't stop, won't stop.

    [–] [email protected] 5 points 5 days ago (5 children)

    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?

    [–] [email protected] 14 points 4 days ago

    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.

    [–] [email protected] 9 points 4 days ago (1 children)

    you can change that if it bothers you

    [–] [email protected] 3 points 4 days ago (1 children)

    yeah ik, I'm just curious about how people deal with it

    [–] [email protected] 5 points 4 days ago (1 children)

    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).

    [–] [email protected] 2 points 4 days ago (1 children)

    I don't understand why you compare it to vs code, it's not a text editor and besides, it has vim too?

    [–] [email protected] 2 points 4 days ago

    They're both code/text editors, or what would you call VSCode instead? An IDE? you can make an IDE out of nvim if you want.

    Yes, there is a vim mode in VSCode, but in some cases it can be very slow (like editing a few thousand columns at once), and is not as tightly integrated.

    [–] [email protected] 6 points 4 days ago (1 children)

    Muscle memory mostly. I miss vim keybinding when I have to type in anything else, including Lemmy.

    [–] [email protected] 1 points 1 day ago

    There's a CLI Lemmy app, no idea if it uses vim keys but it would surprise me if it wasn't an option.

    [–] [email protected] 4 points 4 days ago

    You could also do I or A followed by esc for the same effect.

    Most often though I use / or ? to just go specifically where I want.

    [–] [email protected] 2 points 4 days ago

    For me, it's that it is shorter to type 0. Also I cannot somehow recall 2 letter commands

    [–] [email protected] 22 points 5 days ago (1 children)

    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.

    [–] [email protected] 0 points 4 days ago (2 children)
    [–] [email protected] 7 points 4 days ago

    It is a pain for larger files. It small and light but doesn't have the same featureset.

    [–] [email protected] 4 points 4 days ago (2 children)

    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

    [–] [email protected] 2 points 3 days ago

    Micro is the best. I work with servers all the time and it's so nice to just be able to use my mouse and normal shortcuts.

    [–] [email protected] 3 points 4 days ago* (last edited 4 days ago)

    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

    [–] [email protected] 15 points 5 days ago (3 children)

    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.

    [–] [email protected] 8 points 5 days ago

    Why use mouse when type very fast?

    Vim actually has pretty good mouse support too if you turn it on!

    [–] [email protected] 4 points 4 days ago

    for Firefox there's now Vimium-c and Tridactyl. personally using Vimium and its been great

    [–] [email protected] 4 points 5 days ago

    If you liked vimperator, you might like https://qutebrowser.org/

    [–] [email protected] 8 points 5 days ago

    it's not everyone's cup of tea, and that's fine. It's not awful though. Arcane, yes. very powerful? also yes.

    [–] [email protected] 3 points 4 days ago

    Most people just use vim