-
-
Notifications
You must be signed in to change notification settings - Fork 972
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
How do I do scroll_line_up with more lines on a single keystroke? #5294
Comments
Currently you can use the https://sw.kovidgoyal.net/kitty/actions/#action-combine
You can also scroll any line or page in the first way by binding the remote control action
|
Alright. That's a pretty good way to do it. I tried to use
but this fails when the integer is parsed. |
I'll have this config for now (I use home-row only):
|
Not at the moment, I think this feature is useful and can be added. For now, you can write a custom kitten to achieve that. |
It should be a pretty simple patch to scroll_window.py PRs welcome |
I'm not sure if this is not a feature request because it could also already exist if it's possible to repeat a kitty command. I think that it doesn't exist so I ask whether there is a possibility to scroll several lines up or down.
I want this because this way I could read text more clearly after I do page scrolls and I want to see only the several next/previous lines of the output.
I'm not sure what "solution" I would like because this could be implemented in various ways.
I could do a macro on my side that repeats the key multiple times or it could be a repeat argument to the kitty terminal (something as in bash shell when I press
Alt+number
). It could also simply be a hardcoded number of lines to be scrolled like this:map alt+k scroll_line_up 5
.It could also probably work if I could do this (too hacky, probably you don't want to do this kind of parsing because it may interfere with other command parsing):
map alt+k scroll_line_up; scroll_line_up; scroll_line_up; scroll_line_up
Currently I press the keys multiple times to scroll lines multiple times.
The text was updated successfully, but these errors were encountered: