mini.align question #329
-
I recently migrated from vim-easy-align to mini.align; thanks for the amazing plugins! It's working out of the box for my use case, except for one minor detail that's confusing me. When I align a table on I apologize if this question has been answered in other documentation |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Columns are not shrunk, but the opposite - they are padded (from left and/or right). Try using That is:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast response. This seems to add one extra whitespace to that first column which is fine. Next question is: is there a way to create "recipes" by binding all of that to one key after |
Beta Was this translation helpful? Give feedback.
Columns are not shrunk, but the opposite - they are padded (from left and/or right). Try using
trim
step with custom merge character.That is:
gA
to initiate interactive align.&
to align by it.t
to trim whitespace.m
followed by<Space>
and<CR>
(Enter).