1.3.3 • Published 3 years ago
coc-bookmark v1.3.3
coc-bookmark
Bookmark manager extension for coc.nvim
Install
:CocInstall coc-bookmark
Features
- 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.curfile
clear bookmark for the current file",:CocCommand bookmark.clear.all
clear bookmark for all files",
Keymaps
Removed, use commands instead. For example,
nmap <Leader>bj :CocCommand bookmark.next<CR
nmap <Leader>bk :CocCommand bookmark.prev<CR
CocList
: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_root
to 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