kitty_grab
kitty_grab copied to clipboard
Select the whole line with a single short cut
Is there any shortcut to select the whole current line?
The current way I'm doing it is to use 'a' to go the the beginning and then shift+e to go to the end. Not sure if it is the most efficient way.
Not currently. I normally move to the beginning with arrows or Home, and then Shift+End. Other times, I need the whole line with the newline included, so Shift+↓ works.
How do you envision this hypothetical “select line” key working?
- If there is no selection, set start at start of current line and end at end of current line, this much is obvious.
- If there is a stream selection, what do we do?
- If there is a rectangular selection, what do we do?
- What would be the default binding and why?
Perhaps something similar to visual line selection in vim, in which at any place in the line you type "V", and the whole line is selected.
wondering if in grab.conf it would be possible to do something like this:
map V combine : move first nonwhite : select stream last nonwhite
If you want vim maybe you could use the real thing as described in https://github.com/kovidgoyal/kitty/issues/719#issuecomment-952039731.
Triple-click works, too :)