Adding bookmarks in Sublime Text 2

Lars picture Lars · Mar 6, 2013 · Viewed 16.6k times · Source

In Sublime Text 2, I'd like to be able to bookmark a line, so I can have easy access to it. I'm working on a 2011 iMac, and various sources tell me that the shortcut is supposed to be cmd + f2.

However, when I press that, absolutely nothing happens. It does work however, if I manually go through the Goto menu and add it. Has anyone else experienced the keyboard shortcut failing? Does anybody have any ideas of how to solve it?

Thanks.

For extra info, I think this is the relevant line in the default keybindings file.

{ "keys": ["super+f2"], "command": "toggle_bookmark" },

Answer

kizu picture kizu · Mar 7, 2013

The point is: F keys on mac are triggered with pressing fn key, so for this case that would work as cmd+fn+f2.