Erik Christiansen wrote:
> On 30.01.15 21:11, kouzennoki@gmail.com wrote:
> > Sometimes hating the day I (or it) was born when I accidentily delete a
> > piece of text and I cannot revert the change for some reason.
>
> Accidental deletion becomes less frequent with increasing competence in
> the use of an editor ... here, often awareness of the current mode. Lack
> of concentration can lead to loss of mode awareness, and result in
> clumsy mis-edits. PEBKAC. Vim removes any painful consequences, whatever
> the cause though, through its marvellous multi-level undo facility. If
> you have used vim for more than a day or two, and _still_ muck up the
> undo, then:
>
> :h undo
>
> and _practice_! ("Do, or do not; there is no try.")
And set the 'undofile' option. Then the only way to lose changes is
when the file is changed outside of Vim. I rely on Vim being able to
undo changes a lot, especially when debugging.
--
hundred-and-one symptoms of being an internet addict:
146. You experience ACTUAL physical withdrawal symptoms when away
from your 'puter and the net.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Saturday, January 31, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment