11 ### Align by delimiters
14 :EasyAlign : " preset characters (\=:.,&#|)
16 :EasyAlign \ " \ means space
28 :EasyAlign | " align by 1st `|`
29 :EasyAlign 3 | " align by 3rd `|`
30 :EasyAlign * | " align by all `|`s
39 r1 " rN - right_margin
40 " spaces to the left/right of `|`
42 " align left/right/center
43 dr " d[lrc] - delimiter_align
44 " alignment of the delimiter itself
47 ### Spaces are optional
50 :EasyAlign * /[;:]+/ l3
56 ### `:EasyAlign = dr` (delimiter_align right)
64 ### `:EasyAlign :` (for json or yaml)
67 url: jdbc:mysql://localhost/test
71 ### `:EasyAlign *|` (markdown tables)
74 | `<Enter>` | right align |
75 | `1` | on 1st occurrence |
76 | `2` | on 2nd occurrence (and so on) |
81 | `{Visual}` `⏎` | activate for selection |
82 | `ga` `{motion}` | activate for motion/text object |
85 Then press options (if available), then a delimiter.
87 ### Interactive mode options
89 | `⏎` | Set `alignment` |
90 | `<ctrl-l>` `4 ⏎` | Set `left_margin` (to the left of the delimiter) |
91 | `<ctrl-r>` `4 ⏎` | Set `right_margin` |
97 - `gaip` `<ctrl-l>` `8⏎` `=` - puts 8 spaces before the equal sign
101 - [vim-easy-align](https://github.com/junegunn/vim-easy-align)
102 - [Examples](https://github.com/junegunn/vim-easy-align#examples)
103 - [Alignment options](https://github.com/junegunn/vim-easy-align#alignment-options)