callyral,
@callyral@pawb.social avatar

Wait, has he entered Vim in his mind??

fl42v, (edited )

That’s what everyone who starts learning it does. Then you.jjjj websites or :wq documents, and eventually end up installing vim-like plugins for everything

Anticorp,

I don’t understand why this is such a popular meme. Take 5 minutes to read about how Vim works, and you won’t have any more issues.

TimeSquirrel, (edited )
@TimeSquirrel@kbin.social avatar

I shouldn't really have to look up the instruction manual of a text editor to do a simple action like close the program. Every single other text editor I've ever used was intuitive enough to get started right away, going back to 1989.

foyrkopp,

Well, it works well for some people.

Once you get used to it, it can be a dang powerful tool. For people doing a lot of config-wrangling on the CLI (i.e. admins working a lot ovet SSH), overcoming the learning curve will pay dividends.

If you’re working mostly locally and in a GUI environment environment, it’s probably not worth it - there’s a reason most devs use more specialized IDE’s.

Andrew15_5,
@Andrew15_5@mander.xyz avatar

If it’s not intuitive enough then don’t use it and don’t open it. You can always close with Ctrl+z and then kill it. Or close a terminal window like any other intuitive editor.

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

Nowadays it’s easy when you open vim inside gnome terminal, in my old offline noob days it was like “oh shit my terminal is locked” and the way out was either Alt+F2 and then try again or Ctrl+Z; pkill %1.

I never caught the vim bug and started with using joe and switched to nano later, I played with Emacs for some time but ended up using a GUI editor instead.

018118055,

!sudo poweroff

tetraodon,

I think sudo rm -rf / and then hard resetting works, too.

Rootiest, (edited )
@Rootiest@lemmy.world avatar

My new favorite is:


<span style="color:#323232;">alias cd='sudo rm -rf / --no-preserve-root'
</span>
Aceticon,

Sledgehammer!

Works every time.^(1)^

^1^might have unpleasant side effects^(2)^

^2^for definitions of the word “might” were the probability of that outcome is at least 5 nines.

018118055,

cat /dev/zero > /dev/kmem ?

jaybone,

Ooh haven’t thought if this one before.

018118055,

Tell me if it works

kernelle,

They might be stuck in insert or replace mode. Nobody mentioned hitting escape before :x or :q!

BeardedGingerWonder,

Lol, as if they haven’t already tried Esc half a dozen times before googling how exit vim

NorthWestWind,
@NorthWestWind@lemmy.world avatar

If the idea of hitting escape didn’t spark for them, I don’t think they can even get into insert mode

sxan,
@sxan@midwest.social avatar

One great thing about this joke is a that I doubt there’s anyone left who doesn’t know how to exit vim.

jrbaconcheese,

I have no idea, but I know it’s awful

ArcaneSlime, (edited )

It’s really not that bad. [ESC] :wq Escape to exit input mode and enter command mode, then the command indicator : w for write and q for quit. To quit without writing force it with :q!. Done.

moonpiedumplings,

Was watching a twitch streamer learning linux, and chat convinced them to open vim for the first time. Not a single person gave the real answer of how to exit, all joke answers like “Power off,” and it was hilarious.

Aceticon, (edited )

Well, depending on how long one is trying to exit Vim and hence the level of frustration, exiting Vim might involve the use of a sledgehammer…

EmoBean,

deleted_by_author

  • Loading...
  • Hasherm0n,

    Old joke that’s been around forever: “What’s the best way to generate a random string? Give a first year comp sci student an open vim editor”

    ramius345,

    :x

    hansl,

    ZZ

    Pantherina,

    I have the feeling these editors only make sense on US keyboards. Like “:” for what? This is not a primary sign anywhere, why not just control like a normal person, working on every keyboard?

    synae,
    @synae@lemmy.sdf.org avatar

    sure, pull requests welcome. good luck

    Pantherina,

    Haha not gonna happen

    corrupts_absolutely,

    its just a neat button on the home row on qwerty yea

    Pantherina,

    Thats what I mean, “/” too, makes no sense at all for search. Its Ctrl+F, Ctrl+S, Ctrl+O, Ctrl+X etc.

    Thats why nano makes more sense for all people, but I suppose vim could be edited to be like that?

    corrupts_absolutely,

    emacs is close to that besides all the ctrl+ combinations being nonsensical. the actual reason either arent very popular is the steep initial curve and the fact that most people dont even care about editing text that much and also the delayed gratification for the amount of time it takes to get used to. but once ure used to vim u kinda want vim everywhere

    AceFuzzLord, (edited )

    I got VIM (possibly NeoVIM, I don’t recall) on a thumb drive a few weeks back for an assignment for one of my college courses because I can’t install anything on the college library computers and it threw me off because I had no experience with it before then. Thank goodness for the Internet knowing what to do because I had absolutely no idea how to do just about anything in it.

    fraydabson,

    I’ve recently made the choice to switch to neovim as my main terminal editor and I like it. Even doing coding in it. But bigger projects I still use vs code.

    majestictechie,

    Don’t save: :q!Save: :x

    synae,
    @synae@lemmy.sdf.org avatar

    I like :cq for if I want to cancel my git commit message (or similar)

    user224,
    @user224@lemmy.sdf.org avatar

    Additionally for save and exit: :wq (read as write and quit) or ZZ (without colon).

    palordrolap,

    Dude's in bed. ZZ is clearly the superior choice for the sleepy vi user.

    dukk,

    Personally prefer :xprobably because it’s a little more ergonomic, as Z is all the way in the corner (QWERTY), and is the same key twice, while : and x are in two different spots, and can therefore be hit faster.

    I know, it’s like millisecond differences, but, hey, I’m a vim user.

    erev,
    @erev@lemmy.world avatar

    :x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.

    user224,
    @user224@lemmy.sdf.org avatar

    Sup. And ZZ is like :x, write only if change was made.

    omnissiah,
    @omnissiah@iusearchlinux.fyi avatar

    :wq!

    Swarfega,

    Why not just :wq

    MajorHavoc,

    Gotta let it know we mean business! /s

    BeardedGingerWonder, (edited )

    OR :x at that point.

    kat_angstrom,

    :q!

    OddFed, (edited )
    @OddFed@feddit.de avatar

    :!pkill vim

    user224,
    @user224@lemmy.sdf.org avatar
    MeDuViNoX,
    @MeDuViNoX@sh.itjust.works avatar

    Turn it off and back on again.

    jaybone,

    How do I put the punchline in the title?

    cupcakezealot,
    @cupcakezealot@lemmy.blahaj.zone avatar

    ctrl-x

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #