Sublime Forum

Changing keyboard shortcut for Toggle Diff Hunk

#1

v3.2 (3200) Windows build - trying to set a custom keyboard shortcut for Edit > Text > Toggle Diff Hunk docs

I have tried a few like

{ "keys": ["alt+k"], "command": "show_diff_hunk" },

but can’t get it to work.

There must be a universal way to identify the string to use for an existing menu option, but I don’t know it, any help with that, or with the specifics of how to change this command would be lovely, thank you.

0 Likes

#2

As per usual, found the answer by asking the Question…

0 Likes

#3

For posterity, the command is toggle_inline_diff.

3 Likes