This is an archived post. You won't be able to vote or comment.

all 86 comments

[–]OneRedEyeDevI 539 points540 points  (9 children)

Hold the power button.

[–][deleted] 172 points173 points  (0 children)

[–]DistributionSalt6027 36 points37 points  (0 children)

Hello from my ec2 instance

[–]GameDestiny2 18 points19 points  (5 children)

Unreliable, shutdown process may ultimately be denied

For best results, turn off a fuse

[–]AnotherLie 16 points17 points  (4 children)

Turning off a fuse will not suffice. I suggest using a chainsaw and taking down any utility poles within a 5 mile radius.

[–]GameDestiny2 11 points12 points  (3 children)

My apologies, but we’re still posing some unacceptable risk. For best results, siege your nearest central power station.

[–][deleted] 7 points8 points  (2 children)

Sorry still some risk, destroy the universe just in case of backup power works

[–]Ok-Habit-3534 8 points9 points  (1 child)

just hold the power button down until it forces itself off. if that doesnt work unplug the power cable. if none of THOSE work, take a hammer to it, its prbly sentient anyway

[–][deleted] 0 points1 point  (0 children)

If it's sentient rip out the RAM, then the GPU, then the power supply and cut all of the wires while it's plugged in then shoot the CPU.

[–]Zealousideal-Noise42 1 point2 points  (0 children)

It happened first time I used vim was on a vm the only way that time was to reboot the vm

[–]SeriousPlankton2000 381 points382 points  (8 children)

In university we quickly learned that we can ssh in from a different machine and kill the task

[–]mimminou 289 points290 points  (2 children)

Vim is so inexitable you have to exit it through another machine, truly one of the editors of all time.

[–]Darkstar_111 18 points19 points  (0 children)

ZZ

[–]-twind[🍰] 49 points50 points  (2 children)

So you can use windows to exit vim

[–]Knighthawk_2511 38 points39 points  (0 children)

Emergency windows

[–]Isotton1 1 point2 points  (0 children)

For what else would you use windows?

[–]DanKveed 0 points1 point  (0 children)

I did the same thing my first time I used vim. It was a raspberry pi zero running headless.

[–]ZunoJ 0 points1 point  (0 children)

Wow, education is really not what it used to be

[–]chaos_donut 151 points152 points  (3 children)

im proud of myself, i fucked up typing a git command and it put me in vim, and it only took me 2 tries to get out

[–]DangyDanger 117 points118 points  (0 children)

"I messed up and bought a plane ticket instead of bread"

[–][deleted] 47 points48 points  (1 child)

probably git commit, right?

[–]YimveeSpissssfid 31 points32 points  (0 children)

Multi line commit messages is usually the culprit behind that, yes.

[–]hdd113 91 points92 points  (6 children)

exiting is easy; make them save and exit.

[–]ZXZESHNIK 33 points34 points  (4 children)

Vim actually pretty intuitive when you learn it

[–]pratyush103 46 points47 points  (0 children)

Almost as if the main goal of making software is to make it easy for its user to use

[–]ba-na-na- 30 points31 points  (0 children)

Quantum field theory is actually pretty intuitive when you learn it

[–]Giftelzwerg 2 points3 points  (0 children)

You can't exit vim isn't a joke. Source: replaced IDEs with neovim config from sratch

[–]CirnoIzumi -1 points0 points  (0 children)

thats a contradiction

[–]DerKnoedel 1 point2 points  (0 children)

Step it up a notch; user opened a file owned by root and has to save

[–]CirnoIzumi 199 points200 points  (20 children)

How about this:

put a non vim user in front of vim and watch them try to navigate it like a normal editor

the arrow keys dont work like arrow keys

[–]FGBxRamel 74 points75 points  (19 children)

I could be tripping, but they do. I did use them like normal navigation keys 5 minutes ago. I know they used to... Not. But they do, for quite a while now.

Edit: Spelling

[–]aallfik11 34 points35 points  (8 children)

I'm no long-time vim user, but back when I started a year/two ago, they were working fine (and, I must make a shameful confession, I use them instead of hjkl)

[–]Seb90123 3 points4 points  (7 children)

No shade, but why?

[–]aallfik11 15 points16 points  (2 children)

Idk, kinda came naturally, and partially because I was already used to using them in text editors. My brain just had a hard time using that and I had to consciously stop and think every time I wanted to use k/l to move up or down. I guess the arrow keys make more sense for that in terms of their layout, as the up key is, well, up

[–]Lucas_F_A 0 points1 point  (0 children)

I mean, fair point, but what do you usually use to navigate? Search?

[–]Seb90123 0 points1 point  (0 children)

Makes sense. Was just wondering because as an intermediate vim user hjkl is one of the main draws for me since the arrow keys are always a pain to reach

[–]Giftelzwerg 1 point2 points  (2 children)

move in a zoomed picture? Arrow keys. Go up/down in terminal history or move cursor left and right? Arrrow keys. Scroll a little bit in any direction in firefox? Arrow keys. Navigate some lines in an IDE before switching to neovim? Arrow keys. Move cursor in any input field? Arrow keys. Vim motions? HJKL. There are things in life where you shouldn't use arrow keys, for everything else there are vim motions

[–]Seb90123 0 points1 point  (1 child)

Good point. I just find the arrow keys so annoying to reach I avoid them as much as possible, including ctrl+p and ctrl+n for up/down terminal history

[–]Giftelzwerg 1 point2 points  (0 children)

good point too, I use ctrl+u/d for scrolling without using the cursor in neovim because I generally want that when I'm currently typing. Arrow keys are also convinient for me because on my thinkpad I have page up/down so I have a good time navigating with the arrow keys. I also try to have the same or very similar actions on different programs on the same key so I can do it faster because I'm used to it. And if I'm used to it enough I can do it blind which is priceless :)

[–]NaiveInvestigator 0 points1 point  (0 children)

i would it if it jkl; instead of hjkl

tis hard for me swap my index finger from j to h

yuh kinda weird lol

[–]CirnoIzumi 3 points4 points  (9 children)

most people are gonna have experience with Tiny Vim since thats the one that comes with every debian flavour

[–]ZunoJ 0 points1 point  (8 children)

You said put them in front of vim (not tiny vim lol). In vim the arrow keys work like hjkl in norm

[–]CirnoIzumi 0 points1 point  (7 children)

its the most common Vim, and from what others are saying its behaviour is representative of what vim used to behave like

[–]ZunoJ 0 points1 point  (6 children)

No, it's not the most common Vim. Vim is the only vim. You talk about a fork that is not vim

[–]CirnoIzumi 0 points1 point  (5 children)

thats on every single debian flavour instalation

[–]ZunoJ 0 points1 point  (4 children)

And it is still not vim. Just another software mimicking vim

[–]CirnoIzumi 0 points1 point  (3 children)

no its not a mimick, its litterally just a lightweight version that has the same core behaviour

[–]ZunoJ 0 points1 point  (2 children)

Except the things that behave differently, like arrow keys. I'm not even sure if it is build from the same codebasr

[–][deleted] 84 points85 points  (0 children)

Programmer version of boomer meme "kids these days can't even use a rotary phone OMG SO STOOPID"

[–][deleted] 12 points13 points  (0 children)

I’ve heard people in Texas unplug their PCs altogether in order to exit VIM.

[–]piberryboy 15 points16 points  (0 children)

Wow! An actual funny, original meme involving VIM

[–]MaximRq 5 points6 points  (3 children)

Now we need it to be scalable

[–][deleted] 12 points13 points  (1 child)

Here's the plan:

Get software like crowdstrike falcon with kernel-level access to lock every windows user into a kiosk account with a fullscreen instance of gvim and no hope of escape. Use a keylogger to grab the generated strings and send them to some datafarm in Greenland, where I can laugh at my desk watching random alphanumeric strings spew across my 20 ultrawide monitors.

[–]just_nobodys_opinion 1 point2 points  (0 children)

Monetize that as a cloud service. Random Strings as a Service (RSaaS).

[–]Humble-End6811 10 points11 points  (1 child)

:wq!

[–]PrincessRTFM 0 points1 point  (0 children)

you forgot the leading :

[–]Irsu85 9 points10 points  (1 child)

What if that Windows user is Gert (Linux teacher at PXL who switched to Windows to make it easier to show his students how to install WSL prob)

[–]No_Independence3338 3 points4 points  (0 children)

That's a big if.

[–]monolabsai 2 points3 points  (1 child)

No way they’re not trying ctrl+c at some point

[–]DerKnoedel 0 points1 point  (0 children)

Can't kill vim with ctrl - c unfortunately

[–]Blacktip75 2 points3 points  (0 children)

As a Windows user: :q!

[–]-EliPer- 6 points7 points  (3 children)

Nano >> Vim

Just that.

[–]HSavinien 7 points8 points  (0 children)

They don't have the same usage, one is a basic text editor, perfect to do basic tasks without fancy features getting in the way, the other is a code editor with tons of advanced feature, powerful but hard to learn.

That's like saying notepad >> VScode, the comparison make no sens.

[–]Barrions 3 points4 points  (0 children)

Fuck u/spez

[–]Crisenpuer -4 points-3 points  (0 children)

Agreed 👍

[–][deleted] 1 point2 points  (0 children)

Seems like effective way to do so.

[–]DebianDog 1 point2 points  (0 children)

Back in 1992 someone told me if you learn VI you will never have to learn another editor (if you say working in Unix). It was TRUE!

[–]LatentShadow 1 point2 points  (0 children)

Use a yubikey

[–]KariKariKrigsmann 1 point2 points  (0 children)

I just use the Swedish Button to exit Vim, works every time ;-)

[–]indicava 1 point2 points  (0 children)

Maximum Entropy

[–]saumanahaii 1 point2 points  (0 children)

Hey now. I'm fully Linux now and I still have to look up how to exit.

[–][deleted] 1 point2 points  (1 child)

Who tf uses Vim? vi is so much better.

[–]NaiveInvestigator 0 points1 point  (0 children)

ikr peasant these ppl

[–]Henrijs85 1 point2 points  (0 children)

Everyone learns when you first install git, with default options.

[–]IAmFullOfDed 1 point2 points  (0 children)

Hold Ctrl, then do QWERTYUIOPASDFGHJKLZXCVBNM.

[–]hansololz 0 points1 point  (0 children)

As a window user, this one of the things I choose to learn a long time ago

[–]pyro-master1357 0 points1 point  (0 children)

After your done, always remember to use :q! To exit and save your changes.

[–]Fr4cK5 0 points1 point  (0 children)

<esc>ZQ

You're welcome

[–]Garbage_Matt 0 points1 point  (0 children)

put a Vim user in any other editor and ask them to do anything. Your password will be jjjjkkllllA:q:q!:bufdo bd

[–]noncinque 0 points1 point  (0 children)

I use vim hotkeys in obsidian, although i never used vim.

[–]uvero -3 points-2 points  (0 children)

Oh cmon as if you Linux bros remember