mdurell,

Alt-F4

Somewhereunknown7351,
Somewhereunknown7351 avatar

Take my fucking upvote and leave

darcy,
@darcy@sh.itjust.works avatar

if your desktop environment uses alt+f4 to quit 💀

Bene7rddso,

If yours doesn’t use it, you know what it uses instead

darcy,
@darcy@sh.itjust.works avatar

very true.

HovringSquidworld97A,

That is a hilarious, yet useful test.

chraebsli,
@chraebsli@programming.dev avatar

Great idea for when you start in IT! Always had trouble first year in my apprenticeship when i had accidentally opened vim. Ask for first time and after 2 months not used.

Did someone already open a pull request?

Commend9380,

Easy, just turn off computer.

Lime66,

Easy ESC ESC ESC ESC ESC ESC ESC ESC ESC :q! Or alternatively ESC :q!

Crass_Spektakel,
@Crass_Spektakel@lemmy.world avatar

That is just hilarious but also…

I just remembered that Bram Moolenaar, the author of vim has recently died…

He was a real good person. Back when he released his first vim for Amiga Computers I exchanged some emails with him and he handled even my less smart suggestions very professional.

I just take the chance to remind everyone to spend some money for his Uganda Charity.

Matombo,

Oh wow, that’s an easy way to not implement a feature ;)

homura1650, (edited )

Tricky question, but I think I have a solution:

:!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID

isVeryLoud,

Technically correct

neo,
@neo@lemmy.comfysnug.space avatar

:q!

flop_leash_973,

A lot of my personal dislike for VIM would be done away with if it just had a helpful common keys cheat sheet (basic cursor navigation, edit mode, exit with and without saving, etc) at the bottom of the editor window like Nano does.

corship,

Try nvim

eeleech,

Having the commands listed at the bottom by default is one thing i personally dislike about nano, because they take up space while being useless to someone knowing the commands (or at least knowing how to open the help in, which is what you can do in vim to achieve the cheat sheet). The alternative that vim uses, is to show the commands when starting the editor without opening a file.

Omniraptor,

is there not an option to turn them off??

redempt,

one of my favorite things about helix is how easily you can check the keybinds for certain actions - just space-? and then you can see a list of every command available (by description) and their keybinds, if they have one

lesnake,

Not to forget the buit in popup showing the shortcuts, similar to which-key, but built in

neo,
@neo@lemmy.comfysnug.space avatar

This is the only reason I have any idea how to navigate nano.

jayemar,

I understand where you’re coming from, but as a frequent user of vim I’d much rather have the additional line of text.

droans,

That makes sense, I mean your monitor can only fit like six lines of text.

beastlykings,

It should be default on, with a setting to turn it off for power users

thecodeboss,

They could even have one of the commands on the cheatsheet be to hide it, so anyone who doesn’t want it will immediately see how to turn it off.

Serpardum,

It’s very easy to terminate vim. I just use the power button.

DNOS,

Uh… so u guys don’t change the PC each time that’s cool I would definitely try that …

Patches, (edited )

If I could afford to change PC - I could afford real IDE

DNOS,

Yeah that’s the problem it’s so expensive not to mention when you buy a discounted one and the vim session is already open…

DNOS,

Tried it’s a scam , doesn’t work

rustbuckett,

I just can’t quit you, vim!

Blyfh,

You can’t just quit it. Vim is one hell of a drug.

Luvon,

If you want to learn vim, try the command vimtutor in a terminal

psud,

If anyone needs the command: :q!

If you want the computer to ask if you’re sure: :q

If you want to save: :wq

PoolloverNathan,

:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)

boatswain,

I prefer ZZ if I want to quit and save

Zacryon,

If you want to save: :wq

Or :x

hansl,

ZQ

fl42v,

:cq because why not :)

Astaroth,

and ZZ for save & quit

intensely_human,

You’re nullifying that safety measure by doing this you know

ArmokGoB,

It’s the opposite of nerd sniping.

Oszilloraptor,

Some people just want to see the world burning

hai,
@hai@lemmy.ml avatar

I think this is the most upvotes I’ve seen on a Lemmy post….

A2PKXG,
@A2PKXG@feddit.de avatar

Lemmy seems to be the old nerdy internet of the 90s, prior to the enshittification

registrert,
@registrert@lemmy.sambands.net avatar

deleted_by_author

  • Loading...
  • pimeys,
    @pimeys@lemmy.nauk.io avatar

    Don’t forget mailing lists! LKML FTW

    h_a_r_u_k_i,
    @h_a_r_u_k_i@programming.dev avatar

    That’s why I like it. No BS, no ads, no commercials, no show-offs, etc. Just some people with a bit of free time share their knowledge and stories.

    I do wish we have more vibrant non-tech communities, though.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmerhumor@lemmy.ml
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • tacticalgear
  • ethstaker
  • JUstTest
  • InstantRegret
  • Leos
  • normalnudes
  • everett
  • khanakhh
  • osvaldo12
  • cisconetworking
  • modclub
  • anitta
  • tester
  • megavids
  • provamag3
  • lostlight
  • All magazines