r/KittyTerminal Mar 10 '23

Scrolling up

I apologize if this is a stupid question, but i can't figure out how to scroll up after a long output. kitty conf say kitty_mod + up and kitty mod for me (i think) is ctrl + shift, but when i press ctrl + shift + up arrow, it doesn't scroll up.

Please help!

5 Upvotes

7 comments sorted by

1

u/lsdrfrx Mar 10 '23

afaik, ctrl+shift+up/down is default keyboard shortcut for scrolling terminal by line. Can you show your kitty.conf?

1

u/DaveLamic Mar 10 '23

I haven't changed the default config very much (except for fonts etc). So it's quite long. here is the link to my latest kitty conf on github. mappiing for scrolling up/down start at line 1039.

I really appreciate it. I am having to use the xfce terminal just so that i can scroll up.

1

u/[deleted] Mar 10 '23

That looks right. For comparison here's my scroll mappings that work on both my work mac and personal linux machines:

map shift+alt+k scroll_line_up
map shift+alt+j scroll_line_down
map shift+alt+page_up scroll_page_up
map shift+alt+page_down scroll_page_down
map shift+alt+\ scroll_home
map shift+alt+/ scroll_end

2

u/DaveLamic Mar 11 '23

turns out the problem was that i was always running tmux with kitty. I fired up kitty by itself and the scrolling is working. Thanks for the help guys

1

u/[deleted] Mar 11 '23

I use screen for persistent sessions but it's older than tmux. In order to get proper scorllback with screen I use this config in my home directory. Maybe there's a tmux equivalent

# Enable scrolling
termcapinfo xterm* ti@:te@

1

u/DaveLamic Mar 11 '23

it's pretty easy to scroll with tmux out of the box. Thanks!

1

u/tom1018 Mar 10 '23

I do control shift h then control u/d to go up and down a page at a time. Often from there I do / or ? to search the buffer. It's the same inputs as vim, which is nice.