this post was submitted on 17 Nov 2023
761 points (95.8% liked)

linuxmemes

21222 readers
31 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 members of the community for any reason.
  • 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, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

    Low quality meme

    you are viewing a single comment's thread
    view the rest of the comments
    [–] audiomodder@lemmy.blahaj.zone 77 points 11 months ago (6 children)

    I was talking with a sysadmin once who intentionally removed nano and emacs from any system he was granted access to. His explanation was “if they can’t use vim I don’t want them on my machines”

    [–] negativenull@lemm.ee 70 points 11 months ago (2 children)

    There's a sysadmin at my place who does exactly that. He's kind of an idiot too.

    [–] MycelialMass@lemmy.world 20 points 11 months ago
    [–] UnculturedSwine@lemmy.world 2 points 11 months ago (1 children)

    As a VIM user, I don't want you using VIM on my system unless you know how to use it. I don't want you borking fstab or the passwd file or some other important config because you don't know how to quit without saving.

    [–] azerial@lemmy.dbzer0.com 1 points 11 months ago

    Lol love this.

    [–] CalicoJack@lemmy.dbzer0.com 56 points 11 months ago (4 children)

    If a sysadmin expected me to use vim for every minor config tweak, I wouldn't want to be on their machines either.

    [–] zero_spelled_with_an_ecks@programming.dev 20 points 11 months ago (1 children)
    [–] linearchaos@lemmy.world 7 points 11 months ago
    [–] laurelraven@lemmy.blahaj.zone 9 points 11 months ago

    I find vim quicker and easier for quick edits too, mostly because I've not bothered to learn anything but vim since it's on everything (except, for some odd reason, the default build of Gentoo)

    [–] 0xD@infosec.pub 3 points 11 months ago (2 children)

    Once you get the hang of it it's just so much quicker for small and big tasks.

    Check out vim adventures:

    https://vim-adventures.com/

    Or just install vimtutor and try around. The basics are pretty simple, and the more advanced stuff infinitely helpful.

    [–] MonkderZweite@feddit.ch 6 points 11 months ago

    and the more advanced stuff infinitely helpful.

    Thanks, no. At that point i use sed, grep or a GUI editor.

    [–] mcmoor@bookwormstory.social -1 points 11 months ago (1 children)

    I don't find nano any easier for minor tweaks than vim

    [–] onlinepersona@programming.dev 4 points 11 months ago

    A vim user finding nano too difficult? Impressive.

    [–] agent_flounder@lemmy.world 10 points 11 months ago

    I usually just don't give out the root password but what do I know lol

    [–] riodoro1@lemmy.world 10 points 11 months ago (2 children)

    Wow, I hope he didnt choose their distro for them too.

    [–] balp@lemmy.world 5 points 11 months ago

    Imho on any server today all editors should be removed. You edit on your workstation and provision to the server.

    [–] jadedwench@lemmy.world -3 points 11 months ago (3 children)

    Brilliant! I don't entirely disagree with that. I had vim forced on me at my old job, including actual vi on some of the more ancient systems. I got so used to it that I don't really know how to use nano and definitely not emacs.

    I never understood what the big deal was. Write. Quit. If you can't remember that 'w' means write and 'q' means quit, I don't know how else to help. Add in some decent options in your vimrc and it is pretty comfortable. I am in no way some guru who knows every shortcut and fancy command out there, but I like using it and it is the first thing I install on a new system.

    I am not one to judge what text editor, OS, phone, car, or computer you like. You do you. If I was a sysadmin that had to deal with people who really shouldn't be on those systems and that was an easy way to discourage people from screwing with it, then hell yeah.

    [–] negativenull@lemm.ee 11 points 11 months ago (1 children)

    Knowing VIM does not make one a better sys-admin. You can be an idiot, and still know how to drive Vi/Vim. There is FAR FAR FAR more to managing an OS and than that. If you think requiring VIM is enough to keep unknowledgeable people away from servers, you are probably the one who shouldn't be managing servers.

    [–] captain_aggravated@sh.itjust.works 4 points 11 months ago (1 children)

    Here's the one reason why I decided to learn Vim rather than emacs: You will find Vim installed somewhere on basically any Unix-like system running in the world. It's the one I can virtually guarantee is there, as part of busybox if nothing else.

    [–] laurelraven@lemmy.blahaj.zone 2 points 11 months ago* (last edited 11 months ago) (1 children)

    Except for Gentoo, for some odd reason they've never included it in the stage tarball so it always has to be installed manually

    Which is even weirder when you realize it is included on the live install iso, so you'll be using it up until you chroot and all of a sudden find it's not available anymore

    [–] captain_aggravated@sh.itjust.works 1 points 11 months ago

    That's a bit like...at one point during Linux Mint's installation, it removes gparted. gparted is included in the Live environment, but not in the standard install.

    [–] audiomodder@lemmy.blahaj.zone 3 points 11 months ago

    What makes you think only people with admin access use a machine? He wouldn’t allow it for anyone, admin or not.