provide keyboard shortcut to indent out to a flat column, starting from multi-cursor insert along a ragged edge

Matthew Trost 6 years ago • updated 6 years ago 1

Just to start off: I love ST2!

I have one feature suggestion. Someone may have made a plugin for this, but I haven't been able to find it. (Possibly I'm not Googling the right phrase...)

Let's say I've got multi-cursor insert along several lines of different lengths -- i.e., cursors along a ragged edge, like this:





How can I automatically push the whitespace at the end of each line out to a flat column, like so?:

a     |

aa   |

aaa |

a     |

I've asked this as a question on SuperUser , but haven't come across an answer yet. Would be a very useful feature!


 I discovered this can be accomplished with the Sublime Alignment package. Install that package, and add "\n" to "alignment_chars" in your settings.