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)
63 ### `:EasyAlign :` (for json or yaml)
66 url: jdbc:mysql://localhost/test
70 ### `:EasyAlign *|` (markdown tables)
73 | `<Enter>` | right align |
74 | `1` | on 1st occurrence |
75 | `2` | on 2nd occurrence (and so on) |
80 | `{Visual}` `⏎` | activate for selection |
81 | `ga` `{motion}` | activate for motion/text object |
84 Then press options (if available), then a delimiter.
86 ### Interactive mode options
88 | `⏎` | Set `alignment` |
89 | `<ctrl-l>` `4 ⏎` | Set `left_margin` (to the left of the delimiter) |
90 | `<ctrl-r>` `4 ⏎` | Set `right_margin` |
96 - `gaip` `<ctrl-l>` `8⏎` `=` - puts 8 spaces before the equal sign
100 - [vim-easy-align](https://github.com/junegunn/vim-easy-align)
101 - [Examples](https://github.com/junegunn/vim-easy-align#examples)
102 - [Alignment options](https://github.com/junegunn/vim-easy-align#alignment-options)