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

  • Posted 4 days ago by irishmansevilla
  • 10 points
: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).

7 comments

    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..