this post was submitted on 25 Aug 2023
250 points (94.0% liked)

linuxmemes

24355 readers
1001 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    all 48 comments
    sorted by: hot top controversial new old
    [–] [email protected] 53 points 2 years ago* (last edited 2 years ago) (3 children)

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

    [–] [email protected] 36 points 2 years ago (2 children)

    With enough height, any drop would do. 😎 Follow me for more shitty advice.

    [–] thepianistfroggollum 5 points 2 years ago (2 children)

    That begs the question of whether the terminal velocity of a phone is enough to eject the battery.

    Unless the height you're dropping it from is on Jupiter

    [–] [email protected] 3 points 2 years ago (2 children)

    I'm pretty sure it is, an arms height drop on the right angle can break open most smartphones, statistically speaking we need a bigger height to increase our chances.

    [–] [email protected] 3 points 2 years ago

    So most modern smartphones do use adhesive strips to attach the battery to the midframe and its pretty strong... Which is why I always advise heating your device to 70c BEFORE lobbing it off the roof to help with battery removal!

    [–] [email protected] 3 points 2 years ago (1 children)

    Unfortunately my phone is rated to withstand such a fall...

    [–] [email protected] 4 points 2 years ago

    May as well sign up for some Vim users groups, then.

    [–] [email protected] 3 points 2 years ago

    I tried typing velocity in the terminal and got a velocity command not found.

    I guess the command crew is out on vacation, so no terminal velocity πŸ€”

    [–] [email protected] 3 points 2 years ago

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

    [–] [email protected] 4 points 2 years ago

    Too late. Removed batteries, now car doesn't start ☹️

    [–] [email protected] 1 points 2 years ago
    [–] [email protected] 38 points 2 years ago (1 children)

    Damn, I guess you need a new phone.

    [–] [email protected] 3 points 2 years ago

    I've been telling myself that for a while.

    I guess it's time now.

    [–] [email protected] 35 points 2 years ago

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

    [–] [email protected] 28 points 2 years ago* (last edited 2 years 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

    [–] [email protected] 9 points 2 years 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.

    [–] [email protected] 27 points 2 years ago (1 children)

    Obviously, you need to feed the cow first!

    [–] [email protected] 22 points 2 years ago (2 children)

    Too late. You'll need a new phone.

    [–] [email protected] 6 points 2 years ago

    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!

    [–] [email protected] 3 points 2 years ago

    Click the home button?

    [–] [email protected] 17 points 2 years ago* (last edited 2 years ago) (2 children)

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

    [–] [email protected] 3 points 2 years ago

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

    [–] [email protected] 16 points 2 years ago
    1. Connect to Laptop
    2. Start adb
    3. Flash phone
    4. Install [distro]
    5. Profit
    [–] [email protected] 14 points 2 years ago

    This is your life now.

    [–] [email protected] 13 points 2 years ago (3 children)

    Press Escape

    Type :q!

    Press enter

    [–] [email protected] 27 points 2 years ago (1 children)

    Gotta save the cow. So type :wq

    [–] [email protected] 12 points 2 years ago* (last edited 2 years 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.

    [–] [email protected] 7 points 2 years ago

    First: press escape

    Then type :!killall -s KILL vim

    [–] [email protected] 5 points 2 years ago

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

    spoilerYou might also try Typing :q

    [–] [email protected] 4 points 2 years ago
    [–] [email protected] 4 points 2 years ago (2 children)
    [–] [email protected] 3 points 2 years 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....
    [–] [email protected] 1 points 2 years ago (1 children)

    pkg install gvim

    Why install the gui version?

    pkg install vim

    [–] [email protected] 1 points 2 years ago (1 children)

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

    [–] [email protected] 1 points 2 years ago (1 children)
    [–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

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

    [–] [email protected] 1 points 2 years ago

    I'm using termux too

    [–] [email protected] 2 points 2 years ago

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

    [–] [email protected] 4 points 2 years ago

    Pull the power cord? Let the battery run out?

    [–] [email protected] 2 points 2 years 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.