Sublime Forum

User key binding

#1

i tried adding a new key binding under Packages/User. i created a new file User.sublime-keymap

and wrote:

<bindings> <binding key="ctrl+alt+f" command="autoFormat"/> </bindings>

but it doesn’t seems to work… any ideas?

0 Likes

#2

For better or worse, it has to be called Default.sublime-keymap - it’ll get merged in with the other Default.sublime-keymap files in different directories.

0 Likes