Code Alignment/Align Text Column #24576
ElAv252
started this conversation in
Ideas From Emacs
Replies: 1 comment 2 replies
-
|
The alignment function seems to be more of a formatting style thing, and the formatter style implementation can be configured, if not as far as I know vim can use 2025-02-11.09.59.57.mov |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in emacs there is a feature that give us the ability to align text by regexp, for example:
### Align Text
Alt+x align-regexp to align text.
For example, suppose you have:
and you want to align them by the equal sign. Just select the text, then Alt+x align-regexp then give “=”. Then you get:
So i highly recommended to add this feature to zed, it will help many people (Include me ;) )
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions