BetterBookmarks extends the built-in Sublime Text 3 bookmarking system to allow for persistent bookmarks and bookmark layers.
First, find out where the packages directory is by going to (Preferences->Browse Packages), use that location in the git clone command.
Install from Package Control here.
The easiest way to use this plugin is with the default keymap.
All listed commands are subcommands of the better_bookmarks
command.
-
To mark a given selection:
"args": {"subcommand": "mark_line"}
-
To remove all bookmarks on the selected layer:
"args": {"subcommand": "clear_marks"}
-
To remove ALL bookmarks from EVERY layer:
"args": {"subcommand": "clear_all"}
-
To cycle between the declared layers:
"args": {"subcommand": "layer_swap", "direction": "prev"}
"args": {"subcommand": "layer_swap", "direction": "next"}
-
To cycle the viewport to each bookmark:
"args": {"subcommand": "cycle_mark", "direction": "prev"}
"args": {"subcommand": "cycle_mark", "direction": "next"}