meino.cramer wrote:
> at my work and at home I often I use vimdiff -- its simply great!
>
> If there is a change in one of the files, which is missing in
> the other file and you want to add the difference to the
> other file, you can diffput the stuff while the cursor is in
> the according lines.
>
> On the other side there is also a "diffget" which should work
> from the other files' side.
>
> But how can I move the cursor on the non-existing lines?

Put the cursor on the line just after the non-existing lines,
then type (in normal mode) do (diff obtain = :diffget).

Or, in the other window, put the cursor on the existing lines,
then type dp (dp = :diffput).

John

-- 
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

Reply via email to