vimwiki

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

commit 5996fdf26aafd9a515724a31e4b4632e5b617c26
parent 29fa4b028b4ee84076ffc88735da1da7eaba026e
Author: Tinmarino <tinmarino@gmail.com>
Date:   Mon,  4 Jan 2021 09:13:36 -0300

Test: #1048 <Plug>VimwikiTableNextCell

Diffstat:
Atest/table.vader | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+), 0 deletions(-)

diff --git a/test/table.vader b/test/table.vader @@ -0,0 +1,66 @@ +# Table autoformating +# Very configurable: read doc/design_notes.md + +# Move <Tab> and <S-Tab> map {{{1 +# See #1048 +########################## + +Given vimwiki (Table Number): + | A | B | C | + |---|---|---| + | 1 | 2 | 3 | + | 4 | 5 | 6 | + +Execute (testmap): + imap testmap1 <Plug>VimwikiTableNextCell + imap testmap2 <Plug>VimwikiTablePrevCell + +Do (2 x Next): + gga + testmap1 + testmap1 + \<Del>Z + +Expect (One Z in B): + | A | Z | C | + |---|---|---| + | 1 | 2 | 3 | + | 4 | 5 | 6 | + +Do (4 X Next): + gga + testmap1 + testmap1 + testmap1 + testmap1 + \<Del>Z + +Expect (One Z in 1): + | A | B | C | + |---|---|---| + | Z | 2 | 3 | + | 4 | 5 | 6 | + +Do (4 X Next + 1 X Prev): + gga + testmap1 + testmap1 + testmap1 + testmap1 + testmap1 + testmap2 + \<Del>Z + +Expect (One Z in 1): + | A | B | C | + |---|---|---| + | Z | 2 | 3 | + | 4 | 5 | 6 | + + +Execute (Clean #1048): + iunmap testmap1 + iunmap testmap2 + + +# vim: foldmethod=marker foldlevel=30