From ca056558664a04d176c70b40d5796adf72a0b6e5 Mon Sep 17 00:00:00 2001 From: Jason Lenz Date: Sat, 19 Dec 2020 07:32:56 -0600 Subject: Update folding related documentation --- README.markdown | 4 ++-- doc/todo.txt | 14 +++++++++++--- 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 +< -- cgit v1.2.3