Thing that matches lines at same indent level #534
mgraham
started this conversation in
Show and tell
Replies: 3 comments 1 reply
-
This is useful when writing HTML. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I actually found that this does not act as I expected it to for most cases - really when I select a block of code at a certain indent level, I want to select not only code of that indent level, but also any code at a deeper indent level. I'll fix it eventually - I haven't gotten around to it yet. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This now works properly and addresses a few edge cases too.
EDIT: added the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to be able to select adjacent lines that have the same indent level.
Example (in ruby):
I searched, but couldn't find anything similar to this, so I made one myself.
It's still a little rough around the edges (and I'm still pretty new at elisp), but so far it seems to work ok.
Here's my thing table, including the new
same-indent
thingBeta Was this translation helpful? Give feedback.
All reactions