Home Download Buy Blog Forum Support

User keybindings don't seem to take effect

User keybindings don't seem to take effect

Postby collinvandyck on Wed Aug 31, 2011 5:33 pm

Sublime Text 2 Beta (2095)

I want to change my key bindings for bookmarking. I open up the User Key Bindings and enter:

Code: Select all
[
  { "keys": ["f4"], "command": "next_bookmark" },
  { "keys": ["shift+f4"], "command": "prev_bookmark" },
  { "keys": ["super+f4"], "command": "toggle_bookmark" },
  { "keys": ["super+shift+f4"], "command": "clear_bookmarks" },
  { "keys": ["alt+f4"], "command": "select_all_bookmarks" }
]


However, this has no effect. Changing it in the default bundle, though, does. Any suggestions?
collinvandyck
 
Posts: 4
Joined: Wed Aug 31, 2011 5:31 pm

Re: User keybindings don't seem to take effect

Postby iamntz on Wed Aug 31, 2011 5:37 pm

You are on a mac? If yes, try to press the Fn key too.
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: User keybindings don't seem to take effect

Postby collinvandyck on Wed Aug 31, 2011 5:41 pm

iamntz wrote:You are on a mac? If yes, try to press the Fn key too.


I have the Fn keys set to not require the 'fn' key. When I look at Selection -> Bookmarks in the menu bar, it shows the old keybindings in the Default Key Bindings.
collinvandyck
 
Posts: 4
Joined: Wed Aug 31, 2011 5:31 pm

Re: User keybindings don't seem to take effect

Postby iamntz on Wed Aug 31, 2011 5:44 pm

Try to move all content into
User\Default (OSX).sublime-keymap
If that is the place where you have content, move them into
User\Default.sublime-keymap

(make sure you don't have other extensions or something similar)
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: User keybindings don't seem to take effect

Postby collinvandyck on Wed Aug 31, 2011 5:56 pm

iamntz wrote:Try to move all content into
User\Default (OSX).sublime-keymap
If that is the place where you have content, move them into
User\Default.sublime-keymap

(make sure you don't have other extensions or something similar)


I copied all of the content in User\Default (OSX).sublime-keymap to User\Default.sublime-keymap. Restarted ST2, without effect. If I CMD-Shift-P and select User preferences, it always opens User\Default (OSX).sublime-keymap. For what it's worth, the User File Settings work correctly...
collinvandyck
 
Posts: 4
Joined: Wed Aug 31, 2011 5:31 pm

Re: User keybindings don't seem to take effect

Postby collinvandyck on Wed Aug 31, 2011 5:59 pm

I also deleted ~/Library/Application Support/Sublime Text 2, but I'm still seeing the same issues.
collinvandyck
 
Posts: 4
Joined: Wed Aug 31, 2011 5:31 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests