coc-todolist
Todolist/task manager extension for coc.nvim
Install
:CocInstall coc-todolist
Features
- Allow to set a reminder for a todo item
- Auto sync your todolist with gist(require github token: click here to generate)
- Manage your todolist using CocList
Configuration
"todolist.enable": {
"type": "boolean",
"default": true,
"description": "whether enable this extension"
},
"todolist.maxsize": {
"type": "number",
"default": 5000,
"description": "maxsize of todolist"
},
"todolist.dateFormat": {
"type": "string",
"default": "YYYY-MM-DD HH:mm",
"description": "dates format"
},
"todolist.autoUpload": {
"type": "boolean",
"default": false,
"description": "upload your todolist every day"
},
"todolist.monitor": {
"type": "boolean",
"default": false,
"description": "monitor the todolist and remind you at the time"
},
"todolist.promptForReminder": {
"type": "boolean",
"default": true,
"description": "whether to ask users to set a reminder for every new todo item"
},
"todolist.easyMode": {
"type": "boolean",
"default": false,
"description": "Open a todo edit window when create/edit a todo item"
},
"todolist.floatwin.background": {
"type": "string",
"default": "",
"description": "notification floating window background(e.g. #000000)"
},
"todolist.floatwin.winblend": {
"type": "number",
"default": 0,
"description": "opacity of notification floating window"
},
"todolist.floatwin.width": {
"type": "number",
"default": 30,
"description": "width of notification floating window"
},
"todolist.notify": {
"type": "string",
"default": "floating",
"description": "how to notify you",
"enum": [
"floating",
"virtual",
"echo",
"none"
]
}
Commands
:CocCommand todolist.create
: create a new todo:CocCommand todolist.upload
: upload todolist to gist:CocCommand todolist.download
: download todolist from gist:CocCommand todolist.export
: export todolist as a json/yaml file:CocCommand todolist.closeNotice
: close notifications:CocCommand todolist.clear
: clear all todos:CocCommand todolist.browserOpenGist
: open todolist gist in gist.github.com
CocList
run :CocList todolist
to open the todolist
- Filter your todo items and perform operations via
<Tab>
- Use
toggle
to toggle todo status betweenactive
andcompleted
- Use
edit
to edit a todo item - Use
preview
to preview a todo item - Use
delete
to delete a todo item
F.A.Q
Q: Where is the todolist data stored?
A: Normally the data is saved in ~/.config/coc/extensions/coc-todolist-data/
, but if you set g:coc_extension_root
to another location, it will change as well
License
MIT