Skip to content
Discussion options

You must be logged in to vote

I don't think this is possible with built-in capabilities. There are two approaches I'd recommend here:

  • Write custom modifier that can pre_merge step that tweaks first separator (for example, adds specific string to its left side). This is complex, but possible.
  • Align as usual (ga=) but manually tweak with blockwise edit. Put cursor on the first = in first line, press <C-v>, navigate down to the last line, press I followed by four spaces and <Esc>. This is pretty straightforward as spaces are aligned already.

My suggestion would be to use manual (second) approach, but if it a regular occurrence then invest into writing a dedicated modifier.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.align
2 participants