this post was submitted on 27 Feb 2025
486 points (96.2% liked)

linuxmemes

24335 readers
1589 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.
  • 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, no politics, no trolling or ragebaiting.
  • 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.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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
    [–] NocturnalMorning@lemmy.world 10 points 1 month 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.

    [–] LastYearsIrritant@sopuli.xyz 37 points 1 month ago (2 children)

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

    Can't stop, won't stop.

    [–] Jumuta@sh.itjust.works 5 points 1 month 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?

    [–] LastYearsIrritant@sopuli.xyz 14 points 1 month 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.

    [–] hinterlufer@lemmy.world 9 points 1 month ago (1 children)

    you can change that if it bothers you

    [–] Jumuta@sh.itjust.works 3 points 1 month ago (1 children)

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

    [–] hinterlufer@lemmy.world 5 points 1 month 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).

    [–] KeenFlame@feddit.nu 2 points 1 month 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?

    [–] hinterlufer@lemmy.world 2 points 1 month 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.

    [–] notabot@lemm.ee 6 points 1 month ago (1 children)

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

    [–] FauxLiving@lemmy.world 1 points 1 month 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.

    [–] Earflap@reddthat.com 4 points 1 month 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.

    [–] someacnt@sh.itjust.works 2 points 1 month ago

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

    [–] dohpaz42@lemmy.world 22 points 1 month 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.

    [–] hemko@lemmy.dbzer0.com 0 points 1 month ago (2 children)
    [–] possiblylinux127@lemmy.zip 7 points 1 month ago

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

    [–] Petter1@lemm.ee 4 points 1 month 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

    [–] hemko@lemmy.dbzer0.com 3 points 1 month ago* (last edited 1 month 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

    [–] Overshoot2648@lemm.ee 2 points 1 month 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.

    [–] andros_rex@lemmy.world 15 points 1 month 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.

    [–] WolfLink@sh.itjust.works 8 points 1 month ago

    Why use mouse when type very fast?

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

    [–] lemminator@lemmy.today 4 points 1 month ago

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

    [–] snekmuffin@lemmy.dbzer0.com 4 points 1 month ago

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

    [–] vrighter@discuss.tchncs.de 8 points 1 month ago

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

    [–] possiblylinux127@lemmy.zip 3 points 1 month ago

    Most people just use vim