I broke up with neovim....vim is my best friend now
This commit is contained in:
88
dot_vim/plugged/vimwiki/test/table.vader
Normal file
88
dot_vim/plugged/vimwiki/test/table.vader
Normal file
@@ -0,0 +1,88 @@
|
||||
# Table autoformating
|
||||
# Very configurable: read doc/design_notes.md
|
||||
|
||||
# Move <Tab> at end of row if next row is badly formated {{{1
|
||||
# See #1126
|
||||
##########################
|
||||
Given vimwiki (Header ok but 1 row bad):
|
||||
| Service to be Build | Build Tag | Service to Deploy | Deploy Tag | Comments |
|
||||
|---------------------|-----------|-------------------|------------|----------|
|
||||
|||Provision/Core/Keycloak|release-3.8.0_RC9|This was done as part of release-3.7.0 hotfix and is not required if you are already on Keycloak 7|
|
||||
|||Provision/DataPipeline/AnalyticsSpark|release-3.8.0_RC6||
|
||||
|||OpsAdministration/Core/ESMapping|release-3.8.0_RC9|Choose `userv1,orgv2` for jenkins job parameter `indices_name`|
|
||||
|
||||
Do (i<tab> at end of first line):
|
||||
$i\<Tab>
|
||||
|
||||
Expect(Crash (List required)):
|
||||
# E714: List required <= tbl#goto_next_col, line 9
|
||||
| Service to be Build | Build Tag | Service to Deploy | Deploy Tag | Comments |
|
||||
|---------------------|-----------|-------------------|------------|----------|
|
||||
|||Provision/Core/Keycloak|release-3.8.0_RC9|This was done as part of release-3.7.0 hotfix and is not required if you are already on Keycloak 7|
|
||||
|||Provision/DataPipeline/AnalyticsSpark|release-3.8.0_RC6||
|
||||
|||OpsAdministration/Core/ESMapping|release-3.8.0_RC9|Choose `userv1,orgv2` for jenkins job parameter `indices_name`|
|
||||
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user