Tuesday, September 1, 2009

Re: How to display edited lines of the file

> Is there a way to highlight modified lines while editing a file?

I don't think there's any stand-alone way to do this, but you can
use DiffOrig

:help DiffOrig

which allows you do diff the current buffer with the original
file contents. If the diff ever gets out of sync, you can force
a resync with ":diffupdate"

-tim

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments: