There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

hakunawazo , (edited )

<esc><esc><esc>

:w

:wq

*many other tabs still open *

:qa

rustydrd OP ,
@rustydrd@sh.itjust.works avatar

Hahaha, same!

thepiguy ,

:wq and re-evaluate my lif- oh wait, I forgot to call the function

UNWILLING_PARTICIPANT ,

:w|w|w

eruchitanda ,
@eruchitanda@lemmy.world avatar

Nah.

ZZ

ndonkersloot ,

This is the way

cryptix ,

Just :wq there won’t be any doubts.

Pilokyoma ,

exactly

camelCaseGuy ,

:x and be done.

Morphit ,
@Morphit@feddit.uk avatar

ZZ whatever

KickAssDuke , (edited )

They look so lonely. Why not make them kiss?

:W

:M

psion1369 ,

:wa like a boss

Jumuta ,

:3

XEAL ,

:3

:3

:3

30p87 ,

:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3
:3

programmer_belch ,
@programmer_belch@lemmy.dbzer0.com avatar

My muscle memory is too strong from years of vscode before vim so I have :w mapped to C-s

rustydrd OP ,
@rustydrd@sh.itjust.works avatar

This is Vim’s evil mode

UNWILLING_PARTICIPANT ,

Hissss we’re enemies

AccountMaker ,

I have the opposite situation, I had to willingly stop myself from typing :w while using Word. And I installed the vim extension in vscode, which leads to me typing :w when using someone else’s setup.

programmer_belch ,
@programmer_belch@lemmy.dbzer0.com avatar

I still get lots of jkhl after some lines when I’m trying to move between lines

QuazarOmega ,

The centipede operator

AlolanYoda ,

Question: why does nobody else save and exit with “:x” or “:x!”?

loutr ,
@loutr@sh.itjust.works avatar

I guess by the time I came across :x, :wq was already too ingrained to bother switching.

WeirdGoesPro ,

What am I, a farmer? /s

eran_morad ,

Whoa. I’ve been doing :wq for like 25 years and never new about :x.

Parabola ,

Lots of people don’t know. Just like ctrl+r to substring search your command history in bash.

xmunk ,

I seriously pity people who don’t know ctrl+r that is one of the most important tools for productivity on the cli.

naught , (edited )

And you can hook in fzf to it to get a proper list of previous commands all fuzzy matched!! Oh-my-zsh just requires adding fzf to your plugins list (:

I survived for years with just github.com/zsh-users/zsh-autosuggestions which is similarly great, but fills a slightly different role. Just start typing and you’ll see a faded preview of the most recent command matching & u ctrl+f to autocomplete it. Is gr8

e: clarified what zsh-autosuggest does

catastrophicblues ,

I’ve found it’s a bit overrated honestly. Usually, I also need the commands before and after something, so I use history | grep -B N cmd instead

fiqusonnick ,

ctrl+r to WHAT

IM SO FUCKING PISSED OFF RIGHT NOW

Parabola ,

LOL. I had the same reaction when I found out a decade ago.

velox_vulnus ,

I was quite habituated with :x/:x!, but after switching to Kakoune, I use :wq/:wq!, because :x/:x! does not exist. Yes, it’s one extra key, but I like the overall reduce in cognitive overhead.

NegativeLookBehind ,
@NegativeLookBehind@kbin.social avatar

shift zz

rustydrd OP ,
@rustydrd@sh.itjust.works avatar

No specific reason, but I’d rather be deep in the cold, cold ground before I quit with “:x” instead of “:wq”.

Derp ,

But… But :x is superior because it doesn’t overwrite unchanged files with a new modified date :(

UNWILLING_PARTICIPANT ,

It’s such an awkward letter to reach, also I’m stuck in my ways leave me alone

Strider ,

I do.

deeply_moving_queef ,

:q!

Wait. Oh shit.

r00ty Admin ,
r00ty avatar

I'm sorry, I have to take your first answer.

Morphit ,
@Morphit@feddit.uk avatar

Better hope you set undofile and undodir is writable.

Hupf ,

:q! is for quicksave

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines