Skip to content

How do I do scroll_line_up with more lines on a single keystroke? #5294

@Invertisment

Description

@Invertisment

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions