Re: long line display in gvimdiff
- On Wed, Nov 01, 2006 at 09:03:54AM -0500, Dmitriy Yamkovoy wrote:
> >It should apply onAs long as we are considering easy/efficient/lazy ways to do it, I
> >a per-window basis, so you may have to execute it in each diff
> Or if you're feeling lazy,
> :windo set wrap
> :windo set nowrap
> These enable or disable wrapping for all windows in the current tab.
:windo set wrap!
to toggle the setting of 'wrap'. Then I can use @: to change it back.
Of course, the same thing works one window at a time without the :windo
As for the problem of affecting non-diff windows, I suggest the
" Diffdo <command> applies :command in all windows where 'diff' is set.
:command! -nargs=+ -complete=command Diffdo
\ windo if &diff <Bar> execute <q-args> <Bar> endif
HTH --Benji Fisher