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

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] 9 points 15 hours 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] 29 points 14 hours 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] 2 points 14 hours 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] 1 points 6 hours ago

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

    [–] [email protected] 9 points 12 hours 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] 5 points 11 hours ago (1 children)

    you can change that if it bothers you

    [–] [email protected] 1 points 10 hours ago (1 children)

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

    [–] [email protected] 4 points 9 hours ago

    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] 3 points 10 hours ago

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

    [–] [email protected] 2 points 10 hours 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] 16 points 14 hours 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 12 hours ago (2 children)
    [–] [email protected] 5 points 11 hours ago

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

    [–] [email protected] 1 points 8 hours ago (1 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] 1 points 8 hours ago* (last edited 8 hours 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] 13 points 14 hours 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] 7 points 13 hours ago

    Why use mouse when type very fast?

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

    [–] [email protected] 2 points 11 hours ago

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

    [–] [email protected] 2 points 13 hours ago

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

    [–] [email protected] 7 points 14 hours 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] 2 points 11 hours ago

    Most people just use vim