SublimeDiffView
SublimeDiffView copied to clipboard
`diff_running` context spans windows and eats keybindings as a result
My primary use case for SublimeDiffView is to open up a diff in a new window while having another window open for file browsing. However, while the diff is open, in my non-diff window, I can no longer use my escape
key normally. The diff_running
context key appears to be populated globally, so it attempts to run the diff_cancel
command in my non-diff window (which does nothing).
Is there any way to restrict this diff_running
context to the currently open window or view such that it doesn't interfere with keybindings app-wide?
As a wordaround, I may just disable the escape
keybinding manually, as I normally just close out the window to close my diff. I think this will cause diff_running
to still be active; however, I don't think it will conflict with anything else running (although please correct me if I'm wrong).