On 2020-04-25 15:08, Paul wrote:
> On Fri, Apr 24, 2020 at 04:09:48PM -0500, Tim Chase wrote:
> >While this is functional (and less bad within a tmux session), is
> >it possible to narrow the scope of a :vimdiff to a vim-tab so that
> >I can have a single vim session with multiple file-diff pairs
> >within?  
> 
> Unless I'm misunderstanding, why don't you open the new diff pair
> in a new tab?
Well dang.  That does work.  I misread/misunderstood the text at
  :help 'diff'
which says that the setting is "local to window".  In my
(mis-conceived) tests, opening a new vim window (:sp) from a diff'ed
window resulted in a windo that had 'diff' set, leading me to
(mis-)understand "window" as a vim-session not a vim-window.  Had I
properly tested, I would have noticed that after a ":sp" on a diffed
window, I could then
  :set nodiff
on one of those and it was in fact scoped to a vim-window not a
vim-session.
Reading up at ":help start-vimdiff" it does indeed say that "Diffs
are local to the current tab page" which is exactly what I wanted
and just failed to find/understand.
Thanks for setting me straight!
-tim
-- 
-- 
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200425094128.5a09da0c%40bigbox.attlocal.net.
No comments:
Post a Comment