this post was submitted on 25 Aug 2023
239 points (94.8% liked)

linuxmemes

20761 readers
1865 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
all 40 comments
sorted by: hot top controversial new old
[โ€“] akash_rawal@lemmy.world 51 points 1 year ago* (last edited 1 year ago) (3 children)

~~Remove the battery~~ Wait, you can't do that these days...

[โ€“] 3laws@lemmy.world 34 points 1 year ago (1 children)

With enough height, any drop would do. ๐Ÿ˜Ž Follow me for more shitty advice.

I'm 6 feet 2 inches. Would that be high enough?

Too late. Removed batteries, now car doesn't start โ˜น๏ธ

[โ€“] nexussapphire@lemm.ee 37 points 1 year ago (1 children)

Damn, I guess you need a new phone.

I've been telling myself that for a while.

I guess it's time now.

[โ€“] user224@lemmy.sdf.org 35 points 1 year ago

You don't exit Vim. Only Vim exits you.

[โ€“] raubarno@lemmy.ml 26 points 1 year ago* (last edited 1 year ago) (1 children)

There should be a hardware reset pin hole somewhere near the place where PIN/SD cards are placed. It was designed specifically for VIM users. Hold it with a narrow object.

EDIT: typo

[โ€“] MajorHavoc@lemmy.world 9 points 1 year ago

I'm stealing this forever. Thank you.

I solemnly swear to explain "it's for Vim users" every time I speak of those little pin reset buttons in the future.

[โ€“] throws_lemy@reddthat.com 25 points 1 year ago (1 children)

Obviously, you need to feed the cow first!

[โ€“] eager_eagle@lemmy.world 22 points 1 year ago (2 children)

Too late. You'll need a new phone.

I've learned a few new commands now. :e dials an existing contact, and :w saves contact information.

:q! is super useful for hanging up on robo-callers

I think this thing could work... I dub it the vimphone!

[โ€“] JackGreenEarth@lemm.ee 3 points 1 year ago

Click the home button?

[โ€“] burgersc12@sh.itjust.works 16 points 1 year ago* (last edited 1 year ago) (2 children)

Force stop the app!! Turn off the phone!! Throw it into Mordor! Its literally the only way

[โ€“] FuglyDuck@lemmy.world 3 points 1 year ago

In my experience, computers and other devices that have been properly repaired with a sledgehammer never break again.

[โ€“] MajorHavoc@lemmy.world 3 points 1 year ago

I sense that the creature Golum may yet have some part to play before the end of this journey.

[โ€“] Thyrian@ttrpg.network 14 points 1 year ago
  1. Connect to Laptop
  2. Start adb
  3. Flash phone
  4. Install [distro]
  5. Profit
[โ€“] kat@feddit.de 13 points 1 year ago

This is your life now.

[โ€“] chris@l.roofo.cc 12 points 1 year ago (3 children)

Press Escape

Type :q!

Press enter

[โ€“] teft@startrek.website 26 points 1 year ago (1 children)

Gotta save the cow. So type :wq

[โ€“] andrewth09@lemmy.world 12 points 1 year ago* (last edited 1 year ago)

Added context.

ESC exits Insert mode (or any other mode you are in)

: tells vim you are entering a command

q is the command for quit

! tells vim for force quit (without saving)

Alternatively, :wq will write (save) the file then quit.

[โ€“] original_ish_name@lemm.ee 6 points 1 year ago

First: press escape

Then type :!killall -s KILL vim

[โ€“] Draconic_NEO@lemmy.world 4 points 1 year ago

On some devices you can hold the back key to kill the foreground app.

spoilerYou might also try Typing :q

[โ€“] jopakes3@lemm.ee 4 points 1 year ago (2 children)
[โ€“] GravelPieceOfSword@lemmy.ca 3 points 1 year ago (1 children)

Try it to find out!

  • Install Termux from F-Droid
  • Open Termux, and run pkg install gvim. You might have to add the xorg repo - it will tell you what to do if you try running vim
  • Launch vim
  • You can checkout any time you like but you can never leave....
[โ€“] original_ish_name@lemm.ee 1 points 1 year ago (1 children)

pkg install gvim

Why install the gui version?

pkg install vim

[โ€“] GravelPieceOfSword@lemmy.ca 1 points 1 year ago (1 children)

Only gvim is available in pkg, not vim. I had the same surprise when I didn't see vim.

[โ€“] original_ish_name@lemm.ee 1 points 1 year ago (1 children)
[โ€“] GravelPieceOfSword@lemmy.ca 1 points 1 year ago* (last edited 1 year ago) (1 children)

This is from termux on my Android phone, not from my desktop/laptop.

[โ€“] original_ish_name@lemm.ee 1 points 1 year ago

I'm using termux too

[โ€“] lud@lemm.ee 2 points 1 year ago

Yeah, why not? It's just a terminal running vim.

[โ€“] riodoro1@lemmy.world 4 points 1 year ago

Pull the power cord? Let the battery run out?

[โ€“] DangerZ0ne@lemmy.world 2 points 1 year ago

Type: nano

You could use Hackers KB which has the Ctrl keys, Esc, etc.

If you turn off the Accessibility button on the bottom right, you can switch between keyboards easily too.