this post was submitted on 17 Nov 2023
690 points (96.1% liked)

linuxmemes

21624 readers
366 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!


    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 fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     

    Low quality meme

    you are viewing a single comment's thread
    view the rest of the comments
    [–] audiomodder@lemmy.blahaj.zone 68 points 1 year ago (5 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 65 points 1 year ago (1 children)

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

    [–] CalicoJack@lemmy.dbzer0.com 48 points 1 year 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.

    Sounds like it works then.

    [–] laurelraven@lemmy.blahaj.zone 8 points 1 year 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 1 points 1 year 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.

    [–] GBU_28@lemm.ee 6 points 1 year ago* (last edited 1 year ago)

    Why? Nano doesn't need training, and even for config the engineers shouldnt be able to impact production without review. Sysadmin needs to retire

    [–] MonkderZweite@feddit.ch 6 points 1 year ago

    and the more advanced stuff infinitely helpful.

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

    [–] mcmoor@bookwormstory.social -2 points 1 year ago (1 children)

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

    [–] onlinepersona@programming.dev 4 points 1 year ago

    A vim user finding nano too difficult? Impressive.

    [–] agent_flounder@lemmy.world 9 points 1 year ago

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

    [–] balp@lemmy.world 6 points 1 year ago

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

    [–] jadedwench@lemmy.world -1 points 1 year 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 10 points 1 year 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 3 points 1 year 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 1 year ago* (last edited 1 year 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

    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 1 year ago

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