Skip to content

support tables #132

Open
Enhancement
@justinmk

Description

@justinmk

vimdoc has "column" marker ~ which is supposedly intended to markup a table, example:

tag		char		action in Insert mode	~
------------------------------------------------------------------------------ ~
|i_CTRL-@|	CTRL-@		insert previously inserted text and stop
				insert
|i_CTRL-A|	CTRL-A		insert previously inserted text
|i_CTRL-C|	CTRL-C		quit insert mode, without checking for
				abbreviation
|i_CTRL-D|	CTRL-D		delete one shiftwidth of indent in the current
				line
|i_CTRL-E|	CTRL-E		insert the character which is below the cursor
		CTRL-F		not used (but by default it's in 'cinkeys' to
				re-indent the current line)
|i_CTRL-G_j|	CTRL-G CTRL-J	line down, to column where inserting started
|i_CTRL-G_j|	CTRL-G j	line down, to column where inserting started

The parser could support this by recognizing anything that is separated by <tab> as a column. But it must be started by a foo <tab> bar <tab> ... ~ header. Tab-aligned things that don't have a column header would not be considered tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions