Restrict the distance of tag to header to two lines

Suffices, I think.
Also, clean the code a bit and correct the help file.

Ref #85
This commit is contained in:
EinfachToll
2015-11-21 21:20:33 +01:00
parent debd308eea
commit b794a3bd3b
2 changed files with 11 additions and 9 deletions

View File

@ -1227,10 +1227,11 @@ A tag is a sequence of non-space characters between two colons: >
It is allowed to concatenate multiple tags in one line: >
:tag-one:tag-two:
<
If placed under a header, within 5 lines below it, the header is then "tagged"
with this tag, and tag search commands will jump to this specific header.
Otherwise the entire page is tagged, and search commands will jump
accordingly.
If placed in the first two lines of a file, the whole file is tagged. If
placed under a header, within the 2 lines below it, the header is then tagged
with this tag, and the tag search commands will jump to this specific header.
Otherwise, the tag stands of its own and the search command jumps directly to
it.
Typing tags can be simplified by using Vim's omni completion (see
|compl-omni|) like so: >