Signet Bookmarks
Enhanced bookmarks plugin for Sublime Text with persistence and selectable traversal range.
Details
Installs
- Total 59
- Win 38
- Mac 16
- Linux 5
Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 3 | 1 | 1 | 6 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Signet Bookmarks
Sublime Text plugin for enhanced bookmarks. Bookmark
and Mark
are already well used so
this is signet
from the French:
“Petit ruban ou filet qu'on insère entre les feuillets d'un livre pour marquer l'endroit que l'on veut retrouver.”
Built for ST4 on Windows. Linux and OSX should be ok but are minimally tested - PRs welcome.
Features
- Persisted per project to
...\Packages\User\SignetBookmarks\SignetBookmarks.store
. - Next/previous traverses just the current file or all files in project.
Commands and Menus
Command | Description | Args |
---|---|---|
sbot_toggle_signet | Toggle signet at row | |
sbot_goto_signet | Goto next/previous signet | where: next OR prev |
sbot_clear_all_signets | Clear all signets in project |
There is no default Context.sublime-menu
file in this plugin.
Add the commands you like to your own User\Context.sublime-menu
file. Typical entries are:
{ "caption": "Signet",
"children":
[
{ "caption": "Toggle Signet", "command": "sbot_toggle_signet" },
{ "caption": "Next Signet", "command": "sbot_goto_signet", "args": { "where": "next" } },
{ "caption": "Previous Signet", "command": "sbot_goto_signet", "args": { "where": "prev" } },
{ "caption": "Clear All Signets", "command": "sbot_clear_all_signets" }
]
}
Or they could go in your User\Main.sublime-menu
file under Goto
.
{
"id": "goto",
"children":
[
{
"id": "signets",
"caption": "Signets",
"children":
[
{ "caption": "Toggle Signet", "command": "sbot_toggle_signet" },
{ "caption": "Next Signet", "command": "sbot_goto_signet", "args": { "where": "next" } },
{ "caption": "Previous Signet", "command": "sbot_goto_signet", "args": { "where": "prev" } },
{ "caption": "Clear Signets", "command": "sbot_clear_signets" },
]
},
]
}
You may find it useful to replace the builtin bookmark key bindings with the new ones
because you shouldn't need both. In User\Default (Windows or Linux).sublime-keymap
file:
{ "keys": ["ctrl+f2"], "command": "sbot_toggle_signet" },
{ "keys": ["f2"], "command": "sbot_goto_signet", "args": { "where": "next" } },
{ "keys": ["shift+f2"], "command": "sbot_goto_signet", "args": { "where": "prev" } },
{ "keys": ["ctrl+shift+f2"], "command": "sbot_clear_signets" },
Settings
Setting | Description | Options |
---|---|---|
scope | Scope name for gutter icon | any valid - default is region.redish |
nav_all_files | Traverse extent | true=all project files OR false=just current file |
Notes
sbot_common.py
contains miscellaneous common components primarily for internal use by the sbot family. This includes a very simple logger primarily for user-facing information, syntax errors and the like. Log file is in$APPDATA\Sublime Text\Packages\User\SignetBookmarks\SignetBookmarks.log
.- If you pull the source it must be in a directory named
Signet Bookmarks
rather than the repo name. This is to satisfy PackageControl naming requirements.