1.3.3 • Published 5 years ago
coc-bookmark v1.3.3
coc-bookmark
Bookmark manager extension for coc.nvim

Install
:CocInstall coc-bookmarkFeatures
- Add/Delete a bookmark
- Add annotation to a bookmark
- Navigate bookmarks with CocList
Configuration
"bookmark.sign": {
"type": "string",
"default": "🔖",
"description": "Bookmark icon for sign column"
},
"bookmark.signHl": {
"type": "string",
"default": "Tag",
"description": "Highlight group for sign"
}Commands
:CocCommand bookmark.toggle: create/delete a bookmark:CocCommand bookmark.annotate: create a bookmark with annotation:CocCommand bookmark.prev: jump to the prev bookmark:CocCommand bookmark.next: jump to the next bookmark:CocCommand bookmark.clear.curfileclear bookmark for the current file",:CocCommand bookmark.clear.allclear bookmark for all files",
Keymaps
Removed, use commands instead. For example,
nmap <Leader>bj :CocCommand bookmark.next<CR
nmap <Leader>bk :CocCommand bookmark.prev<CRCocList
:CocList bookmarkCurfile
:CocList bookmarkAll
F.A.Q
Where is the bookmark data stored?
Normally the data is saved in
~/.config/coc/extensions/coc-bookmark-data, but if you setg:coc_extension_rootto another location, it will change as wellcoc-bookmark is not load or throw errors after upgrading
Delete
~/.config/coc/extensions/coc-bookmark-data
License
MIT