Sublime Forum

I'm too stupid: user keybindings

#1

Hi,

I can’t figure out how to change my user keybindings anymore. I found out that a recent build introduced “side by side editing” and that you have to create a file called Default.sublime-keymap in /packages/user. So I guess this “packages/user” folder for Windows is located in /user/name/appdata/roaming/sublimetext3/packages/user. When I safe a file with said name there and then later click “edit keybindings” text present in the file won’t show up in the ‘side by side view’. What’s wrong?

What I’m trying to do is add a keybinding for the “citer” plugin’s “citer: search” command.

Thanks,
gexp

0 Likes

#2

When you choose Preferences > Key Bindings from the menu, the split window that appears has the default (uneditable) key bindings in the left pane and your custom key bindings in the right hand pane. That is, it’s already finding and opening exactly the file that you’re supposed to modify, so you don’t need to try and create it yourself.

That said, the file that it opens is the platform specific version of the file; that is on windows it opens Default (Windows).sublime-keymap, not Default.sublime-keymap. So if you created the file without the platform name in it (or with the wrong platform name), that’s why you don’t see the file contents there.

3 Likes

#3

Thank you for your reply! I will try it out momentarily.

That said in the official documentation under “https://www.sublimetext.com/docs/3/key_bindings.html#user_bindings” clearly states that “Users can customize their key bindings by creating a file named Default.sublime-keymap in their Packages/User/ directory.” If someone is reading this, maybe it can be made clearer for beginners?

0 Likes

#4

Apologies for the necro, but this is a useful post to me! Thanks for investigating!

0 Likes