In this example, the key bindings for format
and compact
are changed to respectively Ctrl+Alt+1
and Ctrl+Alt+2
instead of the default Ctrl+\
and Ctrl+Shift+\
.
It's important to define key bindings for both Windows and Mac: Command+Option+1
and Command+Option+2
in this case.