this post was submitted on 25 Dec 2023
0 points (NaN% liked)

196

16215 readers
2282 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

top 6 comments
sorted by: hot top controversial new old
[–] Anti_Weeb_Penguin@sh.itjust.works 0 points 8 months ago (1 children)

How to use Vim: 1- Don't use it. 2- Use Nano or Gedit lmao.

[–] Gladaed@feddit.de 0 points 8 months ago

Does gedit have a console version?

[–] AVincentInSpace@pawb.social 0 points 8 months ago* (last edited 8 months ago) (1 children)

How do I exit Vim?

escape colon w q

One of life's great mysteries

escape colon w q

I'm pretty sure it's impossible

it is literally. the first result on google.

The best way is to change to another terminal and forcequit it from there

escape then Shift+Z twice also works. or shift+Z shift+Q to quit without saving.

Or hard restart your entire computer

Are you people allergic to search engines or someth--

Bill Joy made vi impossible to exit because he wanted the source to always be open

siiiiiiiiigh

Yes, I'm an old man yelling at cloud, but Vim and Neovim are fantastic text editors that really are worth the half hour you'll spend running through the tutorial to learn them, and the subsequent two weeks you'll spend installing plugins and configuring it exactly to your liking. It really does make writing software more efficient and really doesn't deserve the reputation it gets from "vim is hard to exit lmao" memes made by people who haven't bothered to change their $EDITOR to nano, had it launch automatically when they tried to write a commit message, and instantly decided it was just yet another piece of arcane 80s Unix bullshit

[–] Gladaed@feddit.de 0 points 8 months ago

Cant Google if you don't have a working computer. If it is some kind of deadlock it really sucks. With mobile Internet this does not happen too often.

[–] Diplomjodler@feddit.de 0 points 8 months ago

I used vi before all you whippersnappers were even born and I hated every minute of it. So yeah, I'm lame and I use nano.

[–] Pantherina@feddit.de 0 points 8 months ago

No shit : makes no sense. Maybe on US QWERTY but how selfish can programmers be to think everyone has a button for such a sign?

Why not ctrl+s ctrl+x like nano, it makes more sense for everyone.