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

196

16591 readers
2192 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
 

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

Why would someone edit the actual code (not configs) from the terminal? That by itself sounds like a masochistic endeavor. But I might be missing something.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

I used to do it more back in college where I'd ssh into the schools computers to work on assignments. It's still sometimes useful if you're in the console and want to edit something quickly.

However, there's e.g. macvim and gvim which are literally just vim in a gui; they give you menus and the ability to drag panes and click to move your cursor. With a decent LSP setup they can actually be pretty nice.

And most other decent editors have vim emulation of various quality levels. Emacs is a bit buggy, but it's really useful if you want to code in agda or clojure. And VS Code has fairly decent vim emulation.

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

I see, thank you for clarification!