4 ms·
> 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
by vaylian 4y ago
> 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.
- sriku 4y ago<shaking head> you always learn something old about vim every day!
- herodoturtle 4y ago> to go back 2 minutes in time. Wut. ~27 years of using vim, you just blew my mind.
- kekebo 4y ago[distant yelling of human segmentation faults]
- tomcam 4y agoYeah same. I feel like a new man.
- deckard1 4y agocrazy 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.
- mrintegrity 4y agome Monday morning: :later 8h One can dream...
- wodenokoto 4y agoOkay I might need to start using vim!
- Fnoord 4y agoTo save some typing, seems :ea is an alias for it, unless you got more commands starting with ea. I normally use u (undo) though.
- tpoacher 4y agoYou 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.
- squirt 4y ago> 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?