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

linuxmemes

20880 readers
8 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

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
[–] [email protected] 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”

[–] [email protected] 71 points 11 months ago (2 children)

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

[–] [email protected] 21 points 11 months ago
[–] [email protected] 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.

[–] [email protected] 1 points 11 months ago

Lol love this.

[–] [email protected] 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 20 points 11 months ago (1 children)
[–] [email protected] 7 points 11 months ago
[–] [email protected] 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)

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 6 points 11 months ago* (last edited 11 months 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

[–] [email protected] -1 points 11 months ago (1 children)

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

[–] onlinepersona 4 points 11 months ago

A vim user finding nano too difficult? Impressive.

[–] [email protected] 10 points 11 months ago

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

[–] [email protected] 10 points 11 months ago (2 children)

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

[–] [email protected] 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.

[–] [email protected] -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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 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.

[–] [email protected] 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.