News for hackers. Stuff that matters.
Re:History and effective use of Vim (2019) by vaylian on Friday July 29, 2022 @06:34AM (#32275256)
> You can only imagine how, in command mode, he effectively summons the textual equivalent of the Nine Hells of Ba'ator upon my open documents if I am not quick enough...

There's always [u]ndo. Or you can use

:earlier 2m

to go back 2 minutes in time.

Re:History and effective use of Vim (2019) by squirt on Friday July 29, 2022 @01:58PM (#32279989)
> go back 2 minutes in time.

Honestly this is single-handed my favorite thing about vim.

Not the ability to fluently traverse through text (and apparently time).

But that you can use it for a almost decade, and still have a stranger on the internet blow your mind with simple features you didn't know existed. There's so many of those one-off commands that are so useful, yet you've somehow never heard of them?

Re:History and effective use of Vim (2019) by herodoturtle on Friday July 29, 2022 @07:03AM (#32275440)
> to go back 2 minutes in time.

Wut.

~27 years of using vim, you just blew my mind.

Re:History and effective use of Vim (2019) by kekebo on Friday July 29, 2022 @08:50AM (#32276202)
[distant yelling of human segmentation faults]
Re:History and effective use of Vim (2019) by deckard1 on Friday July 29, 2022 @02:34PM (#32280324)
crazy thing with vim is every person I've seen uses a different subset of functionality, which always contains a few things I've never seen before. Which is also pretty cool in my book. No two people use vim the same way.
Re:History and effective use of Vim (2019) by tomcam on Friday July 29, 2022 @11:07AM (#32277908)
Yeah same. I feel like a new man.
Re:History and effective use of Vim (2019) by sriku on Friday July 29, 2022 @06:56AM (#32275398)
<shaking head> you always learn something old about vim every day!
Re:History and effective use of Vim (2019) by mrintegrity on Friday July 29, 2022 @07:08AM (#32275464)
me Monday morning:

:later 8h

One can dream...

Re:History and effective use of Vim (2019) by h0l0cube on Friday July 29, 2022 @07:46AM (#32275734)
Copilot in 2030 /s
Re:History and effective use of Vim (2019) by usrnm on Friday July 29, 2022 @03:08PM (#32280652)
> still blank

Fair enough

Re:History and effective use of Vim (2019) by Fnoord on Friday July 29, 2022 @08:37AM (#32276107)
To save some typing, seems :ea is an alias for it, unless you got more commands starting with ea.

I normally use u (undo) though.

Re:History and effective use of Vim (2019) by wodenokoto on Friday July 29, 2022 @07:55AM (#32275800)
Okay I might need to start using vim!
Re:History and effective use of Vim (2019) by tpoacher on Friday July 29, 2022 @11:56AM (#32278568)
You can do something very similar with nano.

If you have `set backupdir` enabled, any and all savepoints on a file are backed up with timestamps and a revision number.