Tuesday, August 1, 2017

Re: map in diffexpr

On Di, 01 Aug 2017, Ben Fritz wrote:

> On Sunday, July 23, 2017 at 11:57:24 PM UTC-5, akria wrote:
> > Hi,
> > I use my diffexpr to do diff, and map different hotkey in different window.
> > In vim74, it could work correctly.
> > But in vim80, my diffexpr will fail to move to other windows, so the following map fail too.
> >
> > How should I do this job in vim80?
> >
> > Thanks.
>
> Perhaps add an "OptionSet" autocmd on the 'diff' option. Not sure whether it will work.

The OptionSet on the 'diff' option only triggers since a couple of
patches. And even then, it is not allowed to switch buffers/windows.


Best,
Christian
--
Willst du den Wert des Geldes kennenlernen, geh und versuche dir
welches zu borgen.
-- Benjamin Franklin

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: