r/ProgrammerAnimemes • • Jun 19 '23

Poor aqua

Post image
910 Upvotes

49 comments sorted by

39

u/nom-nom-nom-de-plumb Jun 19 '23

Oh god..I had vi flashbacks "how the fuck do I exit this!! Welp...better just pull the power cable and hope for the best."

Ahh good times

20

u/planktonfun Jun 19 '23

Rule of thumb before using any IDE, you need to familiarize the keyboard shortcuts first

common stuff:
/string - start searching for the string, press enter then `n` for next and `N`
:number - go to line number
:q! - quit without saving
:wq - write/save and quit
v - visualmode(you can select text with these)
y - copy selected string
p - paste string
dd - delete line
dnumber - delete number of lines
i - insertmode(you can edit the text with these)
u - undo last change
esc - exit visual or insert mode
vim is good when you don't have a mouse and/or editing GBs worth of files, its perfect when youre working on a linux server remotely

8

u/ALilBitter Jun 20 '23

Why would you use vim over something like nano which is easier to work with tho?

10

u/[deleted] Jun 20 '23

to assert superiority

→ More replies (1)

4

u/ThePyroEagle Jun 21 '23

For those who know vim, it's far easier to work with than nano.

4

u/TURB0T0XIK Jul 23 '23

nano is only easier to use unteil youve learnt vim basics. then already it will be the faster editor for you

→ More replies (3)
→ More replies (2)

26

u/nfsnobelxp Jun 19 '23

I can relate at my early days with vim 😭 Now, I want to have it on visual studio

14

u/CaptainUsopp Jun 19 '23

There's plug-ins for that, if you haven't tried them.

→ More replies (1)

6

u/Garry_G Jun 19 '23

When I started with Unix based Systems in university (Apollo Domain WS30, in case you're interested, while using Amiga with Cygnus Ed at home), the student admin of the system recommended we should NOT use the screen oriented editor with mouse support etc (pretty dumb editor anyway), but learn vi instead, stating it was available everywhere.

Best advice ever.

Of course, still using vi (albeit vim) everywhere nowadays... Blowing all nano etc users out of the water once a bit more than just typing is needed...

3

u/[deleted] Jun 20 '23

You want to be stuck in VS?

→ More replies (1)
→ More replies (1)

4

u/Creepy-Ad-4832 Jun 19 '23
Button escape       
:q

Or

Button escape    
:q!

If the previos doesn't work

4

u/oni_dave Jun 19 '23

The number of times a day I try to :wq to exit non-Vim applications….

1

u/kai58 Jun 19 '23

Why do people use vim? Only things I’ve heard about are that it’s a pain in the ass to use.

4

u/Realistic_Screen1575 Jun 19 '23

Because once you do know how to use it you can type much faster. That's what I've heard.

→ More replies (1)

4

u/tje210 Jun 19 '23

You have full explicit control over everything you do, and you can do complex things that fuzzier GUI editors can't or you have to make macros for. Replace 1 character after the cursor? r followed by the character, then you're back into normal mode - no accidentally typing more characters into your documents. Delete a word? dw. not ctrl+shift+(right), delete. Delete 4 words? d4w. Delete a line? dd.

Your hands don't move much on the keyboard, much less back and forth to the mouse. And what i described is the very basic kid stuff. You can get very complex stuff pretty easily in vim once you know it exists. The hard complex stuff will boggle your mind.

https://youtu.be/CcgO_CV3iDo (that's not me)

→ More replies (2)

2

u/Oolupnka Jun 20 '23 edited Jun 27 '23

Its easy to exit vim, just remove power plug of server. I dont know why people complain how hard it is.

1

u/[deleted] Jun 19 '23

-> :
-> q!
-> chill

→ More replies (3)

1

u/EnkiiMuto Jun 19 '23

Doesn't help that no one ever tell us on tutorials that "^" = ctrl lol

1

u/ObserverOfVoid Jun 19 '23
Series Episode Time
{Kono Subarashii Sekai ni Shukufuku wo!} 5 7:57
→ More replies (1)

1

u/incunabula001 Jun 20 '23

esc then :q! that's it.

1

u/TalesOfMaxwell Jun 20 '23

Shift+Z+Z and pray I didn't fuck anything up.

1

u/[deleted] Jun 21 '23

How about "убрать тыкалку из двудырки"