News for hackers. Stuff that matters.
Re:Vim Creep by guscost on Thursday July 12, 2012 @04:44PM (#4236688)
I recently discovered a way to learn Vim without fear: learn undo ('u') first! If you know that, you can just mess around with Vim commands until you inevitably screw something up, undo the changes, relax, take a deep breath, and Google whatever you're trying to do.
Re:Vim Creep by irahul on Friday July 13, 2012 @02:24AM (#4238494)
If you are familiar with vim, install gundo.vim and enjoy traversing your undo tree.
Re:Vim Creep by guscost on Friday July 13, 2012 @08:41PM (#4242649)
Awesome.
Re:Vim Creep by helpbygrace on Thursday July 12, 2012 @07:00PM (#4237309)
and Ctrl + R for redo.
Re:Vim Creep by pyre on Thursday July 12, 2012 @11:28PM (#4238089)
... and this to go back to the state of the file 10 minutes ago:

  :earlier 10m
and

  :later 10m
to go back. Note: This is independent of undo/redo cycles as Vim keeps track of that in a tree-like structure. There's just no really great default way of accessing it. See Gundo for a plugin that tries to make it more accessible.
Re:Vim Creep by alttab on Friday July 13, 2012 @12:10PM (#4240385)
You just blew my mind.