The MarkdownEditing package has a default "super+shift+j key binding to run a command that I never use. I’d rather have that key binding perform the Sublime default Join Lines. How can I revert this? FYI, the MarkdownEditing plugin has Default and User settings files. I assume changing the Default settings file would just break this whenever the package is updated.
Best way to reclaim Sublime's default keybinding from a plugin that overrode it?
pruppert
#1
1 Like
pruppert
#2
Nevermind. Figured it out. Putting following in my user keybindings fixed it:
{"keys": ["super+shift+j"], "command": "join_lines"},
0 Likes
OdatNurd
#3
Indeed; for future reference, the idea of the two files is that the Default provides the default key bindings and the User is your own custom bindings. Sublime loads and combines all of the default bindings first, and then tacks your User bindings on, effectively replacing any duplicate bindings that already exist with your User bindings (the same thing also applies to preferences).
Depending on the package it may or may not be possible to edit the defaults directly, but generally speaking if you do they will get lost when the package updates, which is why you should use your User bindings.
2 Likes