Discussion

Ask HN: What is your favorite lesser known VIM shortcut you can share

:earlier 10m → Moves your buffer state 10 minutes earlier. :later 5m → Moves your buffer state 5 minutes later.

Why it's helpful: It acts like a time machine for your edits! If you regret changes but don’t want to undo manually, you can jump back in time.

You can also use it with changes, e.g., :earlier 5c (5 changes earlier).

11 points irishmansevilla 1 year ago 9 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton