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
|
# 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
|
## Version 3.3.2
|
||||||
* Added new mapping \t? to echo a cells representation for use while defining
|
* Added new mapping \t? to echo a cells representation for use while defining
|
||||||
formulas.
|
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** :
|
- **Move between cells** :
|
||||||
|
|
||||||
Now you can move between cells using table mode motions <kbd>\<Leader\>t[hjkl]</kbd>
|
Now you can move between cells using table mode motions <kbd>[|</kbd>,
|
||||||
to move left | down | up | right cells respectively. You can use
|
<kbd>]|</kbd>, <kbd>{|</kbd> & <kbd>}|</kbd> to move left | down | up |
|
||||||
`g:table_mode_map_prefix` option to define the prefix mapping to be used
|
right cells respectively. The left | right motions wrap around the table
|
||||||
before 'hjkl'. The left | right motions wrap around the table and move to
|
and move to the next | previous row after the last | first cell in the
|
||||||
the next | previous row after the last | first cell in the current row if
|
current row if one exists.
|
||||||
one exists.
|
|
||||||
|
|
||||||
- **Manipulating Table** :
|
- **Manipulating Table** :
|
||||||
|
|
||||||
- **Cell Text Object** :
|
- **Cell Text Object** :
|
||||||
|
|
||||||
Tableize provides a text object for manipulating table cells. By default
|
Tableize provides a text object for manipulating table cells. Following
|
||||||
it's <kbd>tc</kbd>, but that can be changed if you wish to by setting the
|
the vim philosophy the you have <kbd>i|</kbd> & <kbd>a|<kbd> for the
|
||||||
`g:table_mode_cell_text_object` option.
|
inner and around (including the immidiate right table separator) the
|
||||||
|
table cell.
|
||||||
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.
|
|
||||||
|
|
||||||
- **Delete Row** :
|
- **Delete Row** :
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user