From 1282750746c6c5864efd8dc6028d7059c489c7f6 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 29 Nov 2023 12:10:07 +0100 Subject: [PATCH] added: snippet to mark todotxt entry done with date --- main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.js b/main.js index b56858b..7d0665e 100644 --- a/main.js +++ b/main.js @@ -312,6 +312,11 @@ var snippets = [ hint: "Comment", insert: "", cursor: -4 +}, +{ + command: "/done", + hint: "Mark todo entry done", + insert: "x " + (new Date).toISOString().substring(0, 10) + " " }]; function seteditorcontent(content, silent)