Hi ping,
On Tuesday, 2023-07-11 20:19:35 +0800, ping song wrote:
> say I've done 3 changes A, B, C.
> but I realized B is a big mistake. A and C is good.
> can I just delete change B, but keep A and C?
Not directly; you could save file and use Mundo
https://github.com/simnalamburt/vim-mundo to jump to the diff of B,
write the preview to patchfile, switch to editfile and run patchfile
through
!patch -R % patchfile
and reload the file. A tad cumbersome though..
There's https://github.com/simnalamburt/vim-mundo/issues/20 but never
resolved.
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZK3YDd3HwiQgUnam%40kulungile.erack.de.
Tuesday, July 11, 2023
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment