vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit a3b100ccaaa0f43113e0dab5ecf4e3b59db1ab17
parent a144be2a30c96790f110b9a4e1d5597ffa627c6a
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date:   Fri,  6 Apr 2018 09:49:18 +0200

Update the documentation for header text objects

Diffstat:
Mdoc/vimwiki.txt | 22++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -564,12 +564,22 @@ INSERT MODE *vimwiki-list-mappings* ------------------------------------------------------------------------------ 3.3. Text objects *vimwiki-text-objects* -ah A section segment (the area between two consecutive - headings) including trailing empty lines. -ih A section segment without trailing empty lines. - -You can type 'vah' to select a section segment with its contents or 'dah' to -delete it or 'yah' to yank it or 'cah' to change it. +ah A header including its content up to the next header. +ih The content under a header (like 'ah', but excluding + the header itself and trailing empty lines). + +aH A header including all of its subheaders. When [count] + is 2, include the parent header, when [count] is 3, + the grandparent and so on. +iH Like 'aH', but excluding the header itself and + trailing empty lines. + +Examples: +- type 'cih' to change the content under the current header +- 'daH' deletes an entire header plus its content including the content of all + of its subheaders +- 'v2aH' selects the parent header of the header the cursor is under plus all + of the content of all of its subheaders a\ A cell in a table. i\ An inner cell in a table.