|
One minor annoyance that I keep running into is the inconsistency of selecting empty lines with fn foo() {
abc();
xyz();
}I want to delete the (empty) line between I know that this is because a cursor is essentially a one character wide selection, so an empty line is already selected by simply moving the cursor there. But I'm often thrown off by this and missing an option to "just delete a line" without having to stop and look at what's currently selected. Is it feasible to prevent |
Replies: 3 comments 1 reply
|
Looking through the documentation, I saw I'm still open to other thoughts and options, though. Lastly, another inconsistency I noticed is that selecting two or more lines with |
|
This was discussed previously, @cessen had some thoughts about
Yeah actually the kakoune behavior is more similar to this: |
I really like this idea. I think I'll probably switch to that myself. Dunno if it's a better default, but for me personally I've found myself mostly using |
Looking through the documentation, I saw
X(uppercase) which only extends to the line bounds so it works for the case I mentioned above.Xdis a bit awkward to enter quickly, though, so I switchedXandxwhich is a decent workaround:Selecting a single line is fast and consistent and having to hold the Shift key for extending the selection is good enough (I usually extend multiple times in a row so I can just keep Shift pressed)
I'm still open to other thoughts and options, though.
Lastly, another inconsistency I noticed is that selecting two or more lines with
<n>xalways works as expected - i.e.3xwill always select three lines, even if the cursor starts on an empty line. (I actually …