nvim: Add todo snippets to markdown
Taken from djot snippets to allow adding a single task and multiple tasks.
This commit is contained in:
parent
6ceedae571
commit
aade4456e3
1 changed files with 10 additions and 0 deletions
|
|
@ -23,5 +23,15 @@
|
||||||
"prefix": "blogfront",
|
"prefix": "blogfront",
|
||||||
"body": ["---", "title: ${1:title}", "description: ${2: desc}", "pubDate: ${3:date}", "tags: ${4:tags}", "${0}", "---"],
|
"body": ["---", "title: ${1:title}", "description: ${2: desc}", "pubDate: ${3:date}", "tags: ${4:tags}", "${0}", "---"],
|
||||||
"description": "add frontmatter"
|
"description": "add frontmatter"
|
||||||
|
},
|
||||||
|
"Insert todo item": {
|
||||||
|
"prefix": "todo",
|
||||||
|
"body": ["- [ ] ${1:first}", "$0"],
|
||||||
|
"description": "Insert a single todo list item"
|
||||||
|
},
|
||||||
|
"Insert todo list": {
|
||||||
|
"prefix": "todo list",
|
||||||
|
"body": ["- [ ] ${1:first}", "- [ ] ${2:second}", "- [ ] ${3:third}", "$0"],
|
||||||
|
"description": "Insert multiple todo list items"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue