10 ### Align by delimiters
13 :EasyAlign : " preset characters (\=:.,&#|)
15 :EasyAlign \ " \ means space
27 :EasyAlign | " align by 1st `|`
28 :EasyAlign 3 | " align by 3rd `|`
29 :EasyAlign * | " align by all `|`s
38 r1 " rN - right_margin
39 " spaces to the left/right of `|`
41 " align left/right/center
42 dr " d[lrc] - delimiter_align
43 " alignment of the delimiter itself
46 ### Spaces are optional
49 :EasyAlign * /[;:]+/ l3
55 ### `:EasyAlign = dr` (delimiter_align right)
61 ### `:EasyAlign :` (for json or yaml)
63 url: jdbc:mysql://localhost/test
66 ### `:EasyAlign *|` (markdown tables)
69 | `<Enter>` | right align |
70 | `1` | on 1st occurrence |
71 | `2` | on 2nd occurrence (and so on) |
77 | `{Visual}` `⏎` | activate for selection |
78 | `ga` `{motion}` | activate for motion/text object |
81 Then press options (if available), then a delimiter.
83 ### Interactive mode options
85 | `⏎` | Set `alignment` |
86 | `<ctrl-l>` `4 ⏎` | Set `left_margin` (to the left of the delimiter) |
87 | `<ctrl-r>` `4 ⏎` | Set `right_margin` |
93 * `gaip` `<ctrl-l>` `8⏎` `=` - puts 8 spaces before the equal sign
98 * [vim-easy-align](https://github.com/junegunn/vim-easy-align)
99 * [Examples](https://github.com/junegunn/vim-easy-align#examples)
100 * [Alignment options](https://github.com/junegunn/vim-easy-align#alignment-options)