Sublime Forum

OSX Bookmarks

#1

Since I’m new to OSX, I might just be, being an idiot… So please excuse my ignorance :smile:

The toolbar shows that Toggle Bookmark is CMD+F2 however that does absolutely nothing for me. I don’t get the brightness dialog, but I don’t get a bookmark created either.

Thanks :smile:

0 Likes

#2

You need to press fn+f2 to get an f2 key press on a apple laptop keyboard (so fn+cmd+f2)

0 Likes

#3

That makes sense! Cheers Jon!

0 Likes

#4

Hmmm… I think my build got bookmarks broken.
using 2101 win64

steps to reproduce:
open a c++ file
click on line N, ie, 37
set a bookmark, ctrl+f2
click on line O, ie, 47
set a bookmark, ctrl+f2
click back on line N, ie, 37
toggle a bookmark, ctrl+f2, wont happen

it works ok if you navigate w/ keyboard. broken if using a mouse.

0 Likes

#5

Bookmarks record a specific position in the file, not just a line. Ctrl+F2 will always toggle a bookmark, but it may be adding a second bookmark to the line if the caret is in a different position than the original bookmark.

0 Likes

#6

oh weird. ok, tried it but behaviour is not what i expect.

1st) toggle a bookmark in line 1, pos 10
2nd) toggle a bookmark in line 2, pos 20
3rd) toggle a bookmark in line 1, pos 30

pushing f2 now wont cycle sequentially after first loop. what im doing wrong?

0 Likes