this post was submitted on 10 Sep 2023
1537 points (98.6% liked)

Comic Strips

12016 readers
1106 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] TrustingZebra@lemmy.one 128 points 1 year ago (8 children)
[–] dohpaz42@lemmy.world 61 points 1 year ago

Restart the computer ;)

[–] CeeBee@lemmy.world 32 points 1 year ago (1 children)

It's pretty simple:

  • Spam the escape key a bit
  • Then do shift + ;
  • when you're in command mode, do the following
  • q! to forcibly quit
  • wq! to forcibly write your changes and quit

Simple!-ish

[–] p_consti@feddit.de 13 points 1 year ago (1 children)

Not to be pedantic, but it's not shift+; it's :, which may be somewhere else depending on your keyboard. For example on (german?) Quertz that's shift+.

[–] CeeBee@lemmy.world 6 points 1 year ago

This is true, but since I already used ":" to indicate an upcoming list, I wanted to be deliberately clear that I was referring to the key, and not suggesting another list.

[–] lntl@lemmy.ml 28 points 1 year ago (3 children)

Why would you want to do that? Vim is efficiency. Without vim, you're wasting your life.

[–] TrustingZebra@lemmy.one 12 points 1 year ago (1 children)

I know exactly what you mean. Let me tell you why you're here. You're here because you know something. What you know you can't explain, but you feel it. You've felt it your entire life, that there's something wrong with the world. You don't know what it is, but it's there, like a splinter in your mind, driving you mad. It is this feeling that has brought you to me. Do you know what I'm talking about?

[–] lntl@lemmy.ml 5 points 1 year ago

It's all around.

[–] Number358@lemmy.world 5 points 1 year ago (1 children)

I’d rather use nano than try to figure out how to type the letter h in vim for five years, only then to forget how to save and quit

[–] lntl@lemmy.ml 10 points 1 year ago (1 children)

Vim actually feels quite natural to people who use vim.

[–] nodsocket@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (1 children)

Sleeping in a bed of barbed wire feels quite natural to people who are used to sleeping in a bed of barbed wire.

[–] MajorHavoc@lemmy.world 1 points 1 year ago

Now you're getting it! /s

[–] Chriszz@lemmy.world 4 points 1 year ago

Exactly. What OP should do is never close vim. You don’t need to close it.

[–] SpaceNoodle@lemmy.world 17 points 1 year ago (2 children)
[–] WhiskyTangoFoxtrot@lemmy.world 28 points 1 year ago (1 children)

A surprised emoticon with a cigar hanging out of its mouth isn't particularly helpful.

[–] SpaceNoodle@lemmy.world 15 points 1 year ago

All vim commands are emoticons

[–] Anticorp@lemmy.ml 10 points 1 year ago (1 children)

You just discarded all of your changes.

[–] SpaceNoodle@lemmy.world 9 points 1 year ago

Yeah, because it all got trashed from the previous keyboard mashing.

[–] SneakyThunder@sh.itjust.works 11 points 1 year ago (1 children)
[–] petersr@lemmy.world 21 points 1 year ago (1 children)
[–] SneakyThunder@sh.itjust.works 13 points 1 year ago

Simply spend a couple hours configuring vim

[–] Lemmyvisitor@lemmy.dbzer0.com 8 points 1 year ago

opening vim is like entering purgatory

[–] ramble81@lemm.ee 6 points 1 year ago (1 children)

For the longest time I thought that answer was Ctrl-Z

[–] BananaOnionJuice@lemmy.dbzer0.com 7 points 1 year ago* (last edited 1 year ago)

Same here in the beginning I used

Ctrl-z

kill %1

[–] tdawg@lemmy.world 3 points 1 year ago

Ȳ̷̙͇̖̍̃͘͜o̷̬̙̙̔͐̄̈̀͗̉̽͂̕͠ù̶̦̞̮͚͖̳̲͉̹̝͝ ̸͈̪̘͎͕̿͊͜d̶̡̫͓͔̝̥͕̮̙̈́̄̽͠ô̸̪̙̞͌̀͂̂͘͝ñ̵̢̥̯̟̖̼̭̼̪͍̺͓̥͇̤͛̎́́́̕̕t̶̖̠̻̣͈͚̳̾̃̃̅͑̒͑͋͗̊̚̕͠͝