Op 28 aug. 2016 12:46 schreef "JohnBeckett" <[email protected]>:
>
> On Sunday, August 28, 2016 at 8:05:29 PM UTC+10, toothpik wrote:
> >> :tabe expected.txt
> >> :vert diffs output.txt
> >
> >> When I last viewed those files, I may have exited with the cursor
> >> on the last line. I use the code from ":help restore-cursor" to
> >> restore the cursor position, so the diff shows the cursor at the
> >> bottom.
> >
> > there's your problem right there
>
> What are you saying? That I should never exit a file with the cursor at
the end? Or I should not use the documented restore-cursor code?
Is it possible to wrap that code into
if ('&diff')
Please correct me if I'm wrong, I don't do much Vim scripting...
Christ van Willegen
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.