mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-10 19:03:50 -05:00
update doc
This commit is contained in:
@@ -56,7 +56,7 @@ Alignment rules for the following delimiters have been defined to meet the most
|
|||||||
| `:` | Suitable for formatting JSON or YAML |
|
| `:` | Suitable for formatting JSON or YAML |
|
||||||
| `.` | Multi-line method chaining |
|
| `.` | Multi-line method chaining |
|
||||||
| `,` | Multi-line method arguments |
|
| `,` | Multi-line method arguments |
|
||||||
| `}` | Closing braces (use it with with a negative field number) |
|
| `}` | Closing braces (Try using it with a negative field number) |
|
||||||
| | | Table markdown |
|
| | | Table markdown |
|
||||||
|
|
||||||
### Example command sequences
|
### Example command sequences
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ With this mapping, you can align selected lines with a few keystrokes.
|
|||||||
: Suitable for formatting JSON or YAML
|
: Suitable for formatting JSON or YAML
|
||||||
. Multi-line method chaining
|
. Multi-line method chaining
|
||||||
, Multi-line method arguments. CSV.
|
, Multi-line method arguments. CSV.
|
||||||
|
} Closing braces (Try using it with a negative field number)
|
||||||
| Table markdown
|
| Table markdown
|
||||||
|
|
||||||
During the key sequence, <Enter> key will toggle right-justification mode.
|
During the key sequence, <Enter> key will toggle right-justification mode.
|
||||||
@@ -65,7 +66,6 @@ In blockwise-visual mode (`CTRL-V`), EasyAlign command aligns only
|
|||||||
the selected parts, instead of the whole lines in the range.
|
the selected parts, instead of the whole lines in the range.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Defining custom alignment rules *g:easy_align_delimiters*
|
Defining custom alignment rules *g:easy_align_delimiters*
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user