coc-octobox
v1.0.0
Published
coc-octobox is a [coc.nvim](https://github.com/neoclide/coc.nvim) extension for [Octobox](https://octobox.io/).
Downloads
2
Readme
coc-octobox
coc-octobox is a coc.nvim extension for Octobox.
It supports:
- showing and filtering the notifications list.
- opening in browser and marking as read.
- archiving notifications.
- muting notifications.
Setup
Just install it like any other coc.nvim extension, for instance:
:CocInstall https://github.com/gabrielpoca/coc-octobox
And setup the following variables in your environment:
- OCTOBOX_URL should be the base url of your octobox instance.
- OCTOBOX_TOKEN should be your API token that you can the settings page in Octobox.
Usage
To show the list of notification run :CocList octobox
. You can give this command a shortcut, for instance:
nnoremap <Leader>gn :CocList octobox<CR>
You can also pass in filters, sort of like you do in Octobox, for instance:
:CocList octobox state:closed,merged archived:false
For now, only state and archived are supported.
You can also show the notification count in the status bar, just enable add the following to your configuration:
...
"octobox.showInStatusBar": true,
"octobox.iconForStatusBar": "☀︎" // this one is optionl
...