Is there a way to define mappings local to a diff window?

I have some specific mappings that I would like enabled when I'm in
diff mode.  Normally I would set this using map <buffer> but on some
occasions I have the buffer in one window and a diff of the buffer in
another.  In the original buffer, &diff == 0 and in the diffed buffer
&diff == 1 so is there an easy way to enable a mapping specific to the
window containing the diffed buffer?

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to