diff --git a/nvim/.config/nvim/snippets/markdown.json b/nvim/.config/nvim/snippets/markdown.json index 091f390..2199f7e 100644 --- a/nvim/.config/nvim/snippets/markdown.json +++ b/nvim/.config/nvim/snippets/markdown.json @@ -23,5 +23,15 @@ "prefix": "blogfront", "body": ["---", "title: ${1:title}", "description: ${2: desc}", "pubDate: ${3:date}", "tags: ${4:tags}", "${0}", "---"], "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" } }