bollu / sublimeBookmark

a better bookmark system for SublimeText
Apache License 2.0
133 stars 30 forks source link

Allow empty bookmarks #36

Open pbx opened 9 years ago

pbx commented 9 years ago

A very common use-case for bookmarking for me is marking a spot in a notes file that I want to return to. Standard ST bookmarks allow me to put the cursor on this line and bookmark it. Can sublimeBookmark be made to do this as well?

gwenzek commented 9 years ago

Are you looking for this shortcut ?

{ "keys": ["ctrl+f2"], "command": "sublime_bookmark", "args" : { "type" : "toggle_line" } }
pbx commented 9 years ago

@gwenzek - possibly. What does that do? Is it documented?

gwenzek commented 9 years ago

It marks the current line as bookmarked, and unbookmarks it if the line is already bookmarked. I don't think it's 'documented' but you can find it in the key binding settings.