-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line text objects for selecting line with and without indents #4234
Comments
Copy pasting my comment from the discussion: These exact keybinds have been on my mind for some time, with the difference that Another idea would be to have:
|
The main selling point I see is for doing things like "change current line" where you might want to keep the line's current indentation but change the text (which means |
There is a good rationale from @Delapouite for introducing line text objects: https://github.com/Delapouite/kakoune-text-objects |
here's a bind for now. [keys.normal]
m.i.l = ["goto_first_nonwhitespace", "select_mode", "goto_line_end", "normal_mode"]
m.a.l = ["goto_line_start", "select_mode", "goto_line_end", "normal_mode"] on a similar note, can we switch i'd find it easier to delete empty lines if i didn't have to either
this can also be solved by also making |
Originally posted by @superDuperCyberTechno in #4225 (comment)
The text was updated successfully, but these errors were encountered: