Closed pickfire closed 4 years ago
Control + Shift is not possible with the terminal.
Aaaa, I didn't know about this. T_T How do you all easily extend over pages usually?
I don’t. xD
It could be bound to Shift-PgUp and Shift-PgDn, except that most terminals reserve those for navigating scrollback.
For selecting really large amounts of text, I start using structural navigation - <a-i>{
selects a block of code, }p
selects until the next blank line, etc. If you're in a CSV file or something that doesn't have multi-line structures to navigate by, maybe you can use ?
to extend to the next match of a regex?
You could mark the beginning of the selection with Z, then scroll down using whatever method you want (for example ctrl d), then use a-z i.
It could be bound to Shift-PgUp and Shift-PgDn, except that most terminals reserve those for navigating scrollback.
I use shift-pageup and shift-pagedown to scroll commonly. So I can't use it.
}p selects until the next blank line
I need to do that like 10+ times to reach the place I want.
You could mark the beginning of the selection with Z, then scroll down using whatever method you want (for example ctrl d), then use a-z i.
a-z i? Looks interesting, this is what I am looking for. I wonder if there's a good way to see documentation for keys without searching for it like :h CTRL-F
in vim.
Last time I saw https://github.com/mawww/kakoune/wiki/Selections-combinations, but I don't understand what it is saying at all. Maybe we should explain it with a good example.
Feature
Feature parity with the rest of commands to allow current
<c-f>
and<c-b>
which navigates between extends the page while the capitalized word is used (<c-F>
and<c-B>
).Usecase
Sometimes I need to extend selection like 5 pages of my screen (52 * 5) but I need to hold down
<c-J>
which takes quite a while to reach there. Same should apply for<c-D>
and<c-U>
.