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.
[ Parent
| on HN ]
If you are familiar with vim, install gundo.vim and enjoy traversing your undo tree.
Re:Vim Creep
by helpbygrace on Thursday July 12, 2012 @07:00PM
(#4237309)
and Ctrl + R for redo.
... 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.