657
vimrule (lemmy.blahaj.zone)

First time when you ssh into your Linux terminal and you gotta “sudo crontab -e” or something and it’s like “what editor do you want to use?” and nano sounds lame so you choose vim cause the sound is cool when you say it and then you have to wipe the whole comp and start over

you are viewing a single comment's thread
view the rest of the comments
[-] glizzyguzzler@lemmy.blahaj.zone 3 points 10 months ago

First time using Linux and in a job setting isn’t the time to get Vim’d, so yeah I dipped. Don’t judge too hard pls!

[-] Voroxpete@sh.itjust.works 12 points 10 months ago

I am a professional linux sysadmin, and I don't use Vim. There is honestly no task you will ever do that will actually require familiarity with Vim. You can get by with Nano just fine.

[-] Jumuta@sh.itjust.works 3 points 10 months ago

vim feels nicer though :/

[-] Fitzsimmons@lemmy.blahaj.zone 3 points 10 months ago

I use nano on my servers because the default configuration can be used by pretty much anyone, even if I had to explain it to someone over the phone. And hopefully you rarely if ever have to make sophisticated changes to files on servers that would benefit from vim's model.

If you do need to do consistent heavy-duty file editing on a server, rmate is really nice for that: https://github.com/aurora/rmate

But honestly both of these strategies are dated and I don't use either of them professionally. These days it's all immutable infrastructure: I use my local editor to make build scripts for immutable server images that there's no point in editing files on running instances because none of the changes will be persisted.

[-] Voroxpete@sh.itjust.works 2 points 10 months ago

Exactly. The days of doing long form editing directly on your server are gone. Most likely any editing I'm doing is happening in VSCode or Notepad++/qq.

[-] Theharpyeagle@lemmy.world 4 points 10 months ago* (last edited 10 months ago)

I actually learned while writing docs for work because it was boring as fuck otherwise. Now I'm one of those people. Give it a shot if you want to spice up (and dramatically slow down at first) some tedious work for a bit.

this post was submitted on 25 Dec 2023
657 points (100.0% liked)

196

16419 readers
1946 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS