summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Lenz <Jason@Lenzplace.org>2020-12-19 07:32:56 -0600
committerJason Lenz <Jason@Lenzplace.org>2020-12-19 07:32:56 -0600
commitca056558664a04d176c70b40d5796adf72a0b6e5 (patch)
treea441dcc65842111da5af1b5b85efd51b3330906f
parent8d6aa0cecf0a342cf1ac4cf62e784c7b5e5f1044 (diff)
downloadtodo.txt-vim-ca056558664a04d176c70b40d5796adf72a0b6e5.zip
Update folding related documentation
-rw-r--r--README.markdown4
-rw-r--r--doc/todo.txt14
2 files changed, 13 insertions, 5 deletions
diff --git a/README.markdown b/README.markdown
index 57c4f37..91c6171 100644
--- a/README.markdown
+++ b/README.markdown
@@ -335,8 +335,8 @@ disable this behavior by setting the following global variable:
## Fold
-Todo.txt files can be folded by projects or context (see `:help fold`), by
-default they are foldable by context, to use project fold add the following to
+Todo.txt files can be folded by projects or context (see `:help fold`). By
+default they are foldable by context. To use project fold add the following to
your vimrc:
let g:Todo_fold_char='+'
diff --git a/doc/todo.txt b/doc/todo.txt
index a6925da..7f5cc0d 100644
--- a/doc/todo.txt
+++ b/doc/todo.txt
@@ -369,8 +369,16 @@ disable this behavior by setting the following global variable:
===============================================================================
8. Fold *TodoTxt-fold* ~
-Todo.txt files can be folded by projects or context (see |fold|), by default
-they are foldable by context, to use project fold :
+Todo.txt files can be folded by projects or context (see |fold|). By default
+they are foldable by context. To use project fold add the following to
+your vimrc:
>
-
let g:Todo_fold_char='+'
+<
+
+Note that the fold method by default changes to match the sort order regardless
+of what Todo_fold_char is set to. If you prefer to keep the fold method
+constant even after changing the sort method set the variable below as follows:
+>
+ let g:Todo_update_fold_on_sort=0
+<