Closed TerryChau closed 4 years ago
:'<,'>EasyAlign*:>l1
>
: set stick_to_left to 0l1
: set left_margin to 1Another way is to regular expression instead of using the predefined rule for :
key, so we don't have to override its defaults.
:'<,'>EasyAlign*/:/
EasyAlign works great with equal signs but I cannot seem to get the colons to align in the same manner.
Using
:'<,'>EasyAlign*=al
, I get:However,
:'<,'>EasyAlign*:al
produces:The second column of colons are not aligned. Switching to the
ga
mapping does not help. I tried a bunch of other combinations, including with the number2
instead of a*
, but I still can't get it to work.