this post was submitted on 08 Apr 2024
4 points (100.0% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pineapplelover@lemm.ee 0 points 7 months ago (3 children)

I refuse to see how vim and emacs is worth learning. I only use it because that's the only option when editing server files. Beyond this, I couldn't imagine coding in these environments from scratch.

[–] ICastFist@programming.dev 1 points 7 months ago

I only use it because that’s the only option when editing server files.

suggestion 1: use nano. Unlike vi(m) and emacs, it's meant for humans, all the command shortcuts you can execute are listed at the bottom.

suggestion 2: browse the servers in question via your file explorer (sftp://user@server or just sftp://server) of choice or WinSCP if you're on windows, open whatever file with your local graphical text editor of choice.

[–] kuberoot@discuss.tchncs.de 1 points 7 months ago (1 children)

By the way, for editing server files consider nano. It's also widely available, has simpler shortcuts and displays them on the screen. It's obviously not powerful like vim, but a good match when you just need to edit a config file.

[–] 1rre@discuss.tchncs.de -1 points 7 months ago (1 children)

Nano is just as fiddly as vim and way less powerful when you actually figure out what you're doing though?

Ie a completely redundant piece of software that has no place being pre-installed anywhere

[–] geophysicist@discuss.tchncs.de 1 points 7 months ago

how is it just as fiddly as vim? it's the only one that's even half intuitive

[–] stoy@lemmy.zip 0 points 7 months ago (1 children)

Nano is perfectly fine for me.

But I know the basics of vim if I need to use it.

[–] Zo0@feddit.de 0 points 7 months ago (1 children)

I have a cheatsheet of all the necessary vim shortcuts!

:q!

[–] Iapar@feddit.de 0 points 7 months ago

:q looks like a person which jaw hit the desk. Which adequately described me when I found out how to exit vim.