On Sun, Aug 28, 2016 at 6:05 AM, toothpik <[email protected]> wrote:
> On Sat, Aug 27, 2016 at 08:32:09PM -0700, JohnBeckett wrote: > > Bram recently fixed :diffoff! > > https://groups.google.com/forum/#!topic/vim_dev/h1nREhhF7mY > > > That reminds me of a diff frustration. > > > Suppose I have two files expected.txt and output.txt, each over 1000 > > lines. Running a test program creates the second file, and it should > > be the same as the first. I use something like the following to diff: > > > :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 No, that's not the problem. I know I said above that the OP exactly described my problem, but I should've been clearer. I don't use any cursor-restoring stuff, but I run into this issue sometimes, and I have never in my life run the code from ":h restore-cursor" or anything like it. It *might* be that cursor-restoring makes the symptoms worse than they would otherwise be, but there is an underlying deficiency in vim. -Manny -- -- 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.
