Home Download Buy Blog Forum Support

user key binding

user key binding

Postby vim on Mon Sep 29, 2008 8:47 am

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

and wrote:
Code: Select all
<bindings>
   <binding key="ctrl+alt+f" command="autoFormat"/>
</bindings>


but it doesn't seems to work... any ideas?
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: user key binding

Postby jps on Mon Sep 29, 2008 10:51 am

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.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 27 guests