Scenario:
- I open a file
- I make one big global change (C0)... say via substitute+regex
- I proceed to make more changes (C1, C2, ... Cn).
While *still editing the file* I realize that the initial change (C0)
was in error.
Can I undo the initial change (C0) and keep all the ensuing changes?
Or...
Go back to the initial state of the buffer, and make vim reapply all the
C1-Cn changes?
Standard vim only please, no plugins.
Thanks,
CJ
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200304180054.GA4040%40turki.local.
Wednesday, March 4, 2020
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment