In Vim version 7.4.2066
When repeating the command :diffput using @: or a mapping containing :diffput
each change to the buffer that is being put to is lumped into one big undo
block. I would expect that either of the uses of indirect calls to :diffput
would produce a new undo block like repeating of :diffget with @: does.
I did notice that the expected behavior is achieved if you navigate to the
buffer being put to after each indirect :diffput call.
Mapping Example:
nnoremap <leader>dp :execute 'diffput'<CR>
--
--
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.