VimPlugin: vim-table-mode: Difference between revisions

From wikinotes
(Created page with "Markdown/ReStructuredText spreadsheet-like tables supporting cell formulas and alignment. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/dhruvasagar/vim-table-mode |- |} </blockquote><!-- Documentation --> = Usage = <blockquote> <syntaxhighlight lang="vim"> <leader>tm " toggle enable/disable table-mode </syntaxhighlight> <syntaxhighlight lang="vim"> | foo | bar | baz | " <<- press enter, followed by '||' " generates: " =======...")
 
Line 6: Line 6:
|-
|-
| github || https://github.com/dhruvasagar/vim-table-mode
| github || https://github.com/dhruvasagar/vim-table-mode
|-
| <code>:help table-mode</code> || https://github.com/dhruvasagar/vim-table-mode/blob/master/doc/table-mode.txt
|-
|-
|}
|}

Revision as of 21:46, 14 October 2023

Markdown/ReStructuredText spreadsheet-like tables supporting cell formulas and alignment.

Documentation

github https://github.com/dhruvasagar/vim-table-mode
:help table-mode https://github.com/dhruvasagar/vim-table-mode/blob/master/doc/table-mode.txt

Usage

<leader>tm  " toggle enable/disable table-mode
| foo | bar | baz |  " <<- press enter, followed by '||'

" generates:
" ==========
| foo | bar | baz |
|-----+-----+-----+  " <<- tadaa

" following lines will auto-adjust their width
" ============================================
| foo     | bar | baz |
|---------+-----+-----+
| aaaaaaa | bbb | ccc |