Update README.md

This commit is contained in:
Junegunn Choi
2013-05-06 23:22:06 +09:00
parent a24b5c7d2e
commit b518d9b067

View File

@@ -23,8 +23,8 @@ With the mapping, you can align selected lines with a few keystrokes.
1. `<Enter>` key to start interactive EasyAlign command 1. `<Enter>` key to start interactive EasyAlign command
1. Optional Enter keys to toggle right-justification mode 1. Optional Enter keys to toggle right-justification mode
1. Optional field number (default: 1) 1. Optional field number (default: 1)
- `1` Alignment around 1st delimiter - `1` Alignment around 1st delimiters
- `2` Alignment around 2nd delimiter - `2` Alignment around 2nd delimiters
- ... - ...
- `*` Alignment around all delimiters (recursive) - `*` Alignment around all delimiters (recursive)
1. Delimiter (`<space>`, `=`, `:`, `.`, `|`, `,`) 1. Delimiter (`<space>`, `=`, `:`, `.`, `|`, `,`)
@@ -38,7 +38,7 @@ Alignment rules for the following delimiters have been crafted 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 |
| `|` | Table markdown | | &#124; | Table markdown |
### Example command sequences ### Example command sequences