Shorthand notation for ignore_groups/ignore_unmatched

e.g. ig['String']iu0
This commit is contained in:
Junegunn Choi
2013-10-04 02:29:24 +09:00
parent f944f5bf29
commit 98bd9fe6f0
3 changed files with 26 additions and 20 deletions

View File

@@ -242,18 +242,15 @@ Supported shorthand notations are listed below.
| Expression | Option |
| ---------- | ---------------- |
| `l[0-9]` | left_margin |
| `r[0-9]` | right_margin |
| `l[0-9]+` | left_margin |
| `r[0-9]+` | right_margin |
| `s[01]` | stick_to_left |
| `u[01]` | ignore_unmatched |
| `iu[01]` | ignore_unmatched |
| `ig\[.*\]` | ignore_groups |
| `d[lrc]` | delimiter_align |
| `m[lrc*]*` | mode_sequence |
| `i[ksdn]` | indentation |
Notice that some option values cannot be expressed in shorthand notation.
- `:EasyAlign*/[:;]\+/s1l0 {'ig': []}`
### Partial alignment in blockwise-visual mode
In blockwise-visual mode (`CTRL-V`), EasyAlign command aligns only the selected