Hello all,

I've hit a small issue today. The following sequence always stops a few seconds 
on 'E749: empty buffer' before displaying the diffs. Calling '1bufdo set ma' 
afterwards does not trigger the error.

  echo "base text" > base
  echo "branch a" > local
  echo "branch b" > remote
  echo "branch a" > merged
  vimdiff -f -d -c 'wincmd J' -c 'bufdo set noma' -c '1bufdo set ma' merged 
local base remote

Does anyone has an idea about why this is happening and how I can fix it?

My guess is that '-c' happens after the first file is loaded (according to 
vimdiff --help) but, I suppose, somewhere before local, base and remote are 
fully loaded. Am I right?

I'm trying to make the 4-way split in 'git mergetool' properly answer to 'dp' 
from one of the top windows. After reading the help, I'm trying to 
automatically set the local, remote and base files as non-modifiable so that 
the remaining (merged) buffer becomes the default 'dp' target. If there is a 
better solution than what I'm doing, I'd love to hear about it!

Thanks a bunch,
François-Xavier

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" 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.

Reply via email to