summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRisto Saarelma <risto.saarelma@iki.fi>2019-02-11 15:46:47 +0200
committerDavid Beniamine <david@beniamine.net>2019-02-13 10:35:32 +0100
commit20e137bfcfd9869b4d61146c69c246f2e7e56e26 (patch)
tree7609a54a44ea6e2ae94a83b6e1599ec0afb560f5
parentf1788f53f98f1428eefe13588d4ec7c8ba6695fc (diff)
downloadtodo.txt-vim-20e137bfcfd9869b4d61146c69c246f2e7e56e26.zip
Document g:TodoTxtStripDoneItemPriority
-rw-r--r--README.markdown7
-rw-r--r--doc/todo.txt8
2 files changed, 15 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 0f48e19..21e01dc 100644
--- a/README.markdown
+++ b/README.markdown
@@ -299,6 +299,13 @@ following to your vimrc:
+ `<LocalLeader>D` : Move completed tasks to done file, see [TodoTxt
Files](#todotxt-files)
+When you mark an item with a priority as done, it is assigned a priority tag
+like `pri:A` so that the priority can be restored if the item is toggled back
+to undone. If you don't want the tags showing up in your done file, you can
+disable this behavior by setting the following global variable:
+
+ let g:TodoTxtStripDoneItemPriority=1
+
### Format
+ `<LocalLeader>ff` : Try to fix todo.txt format
diff --git a/doc/todo.txt b/doc/todo.txt
index c58ef96..9aab494 100644
--- a/doc/todo.txt
+++ b/doc/todo.txt
@@ -328,6 +328,14 @@ following to your vimrc:
`<LocalLeader>` is \ by default, so ̀`<LocaLeader>-s` means you type \s
+When you mark an item with a priority as done, it is assigned a priority tag
+like `pri:A` so that the priority can be restored if the item is toggled back
+to undone. If you don't want the tags showing up in your done file, you can
+disable this behavior by setting the following global variable:
+>
+ let g:TodoTxtStripDoneItemPriority=1
+<
+
7.5 Format *TodoTxt-format*
`<LocalLeader>ff` : Try to fix todo.txt format