mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Updated README & CHANGELOG
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
# Change Log
|
||||
## Version 4.0.0
|
||||
* Major refactoring of the codebase.
|
||||
* Improved modular tests.
|
||||
* Fixed long standing unicode character alignment issue.
|
||||
* Moved to providing <Plug> mappings rather than configuration based mappings
|
||||
which can be more easily overriden by end user.
|
||||
|
||||
## Version 3.3.2
|
||||
* Added new mapping \t? to echo a cells representation for use while defining
|
||||
formulas.
|
||||
|
||||
27
README.md
27
README.md
@@ -72,29 +72,20 @@ $ git submodule add git@github.com:dhruvasagar/vim-table-mode.git bundle/table-m
|
||||
|
||||
- **Move between cells** :
|
||||
|
||||
Now you can move between cells using table mode motions <kbd>\<Leader\>t[hjkl]</kbd>
|
||||
to move left | down | up | right cells respectively. You can use
|
||||
`g:table_mode_map_prefix` option to define the prefix mapping to be used
|
||||
before 'hjkl'. The left | right motions wrap around the table and move to
|
||||
the next | previous row after the last | first cell in the current row if
|
||||
one exists.
|
||||
Now you can move between cells using table mode motions <kbd>[|</kbd>,
|
||||
<kbd>]|</kbd>, <kbd>{|</kbd> & <kbd>}|</kbd> to move left | down | up |
|
||||
right cells respectively. The left | right motions wrap around the table
|
||||
and move to the next | previous row after the last | first cell in the
|
||||
current row if one exists.
|
||||
|
||||
- **Manipulating Table** :
|
||||
|
||||
- **Cell Text Object** :
|
||||
|
||||
Tableize provides a text object for manipulating table cells. By default
|
||||
it's <kbd>tc</kbd>, but that can be changed if you wish to by setting the
|
||||
`g:table_mode_cell_text_object` option.
|
||||
|
||||
This is intelligent in the sense that if you use it to delete the
|
||||
contents it will delete everything till the `g:table_mode_separator` so
|
||||
that the cell is removed and you can enter new stuff if you wish to (had
|
||||
you used 'c' operator), having to input the `g:table_mode_separator`
|
||||
again to form the cell & realign it (since it can't be done from the
|
||||
text object itself). However if you were to 'y' or yank the text, it
|
||||
would copy the right text, i.e. the contents of the cell and nothing
|
||||
else.
|
||||
Tableize provides a text object for manipulating table cells. Following
|
||||
the vim philosophy the you have <kbd>i|</kbd> & <kbd>a|<kbd> for the
|
||||
inner and around (including the immidiate right table separator) the
|
||||
table cell.
|
||||
|
||||
- **Delete Row** :
|
||||
|
||||
|
||||
Reference in New Issue
Block a user