Closed Huray-hub closed 6 months ago
I want to apply which key configuration on buffer level when entering diff-view and reapplying default ones on exit. How can I do this?
I don't use whichkey myself. Have you looked at :h diffview-config-hooks? I feel like you can probably get this working with a combination of view_enter, view_leave, and diff_buf_win_enter.
:h diffview-config-hooks
view_enter
view_leave
diff_buf_win_enter
I want to apply which key configuration on buffer level when entering diff-view and reapplying default ones on exit. How can I do this?