Hi,
I've recently discovered Kitty and I really like it and I'm considering switching to it from URxvt. There's one feature, though, that I use quite often and it seems missing from Kitty. It's toggling alternate screen. E.g. when you are inside vim editor and want to temporarily look 'behind' it for the previous screen output, or the other way round, when you want to see screen output from a closed vim window.
Is there a way to map a shortcut to switch to alternate screen?
It's possible to do in URrxvt with:
URxvt.keysym.M-S-A: command:\033[?47h
URxvt.keysym.M-S-Z: command:\033[?47l
URxvt.keysym.M-S-X: eval:$self->scr_change_screen(not $self->current_screen())
or for XTerm using:
*VT100*translations: #override \n\
Alt Shift <KeyPress> a: set-altscreen(on) \n\
Alt Shift <KeyPress> z: set-altscreen(off) \n\
Alt Shift <KeyPress> x: set-altscreen(toggle) \n\
I've tried a few different combinations for Kitty, but I couldn't find anything that would work. I was expecting this to work:
map ctrl+alt+z send_text all \033[?1049h
map ctrl+alt+x send_text all \033[?1049l
Hi,
I've recently discovered Kitty and I really like it and I'm considering switching to it from URxvt. There's one feature, though, that I use quite often and it seems missing from Kitty. It's toggling alternate screen. E.g. when you are inside vim editor and want to temporarily look 'behind' it for the previous screen output, or the other way round, when you want to see screen output from a closed vim window.
Is there a way to map a shortcut to switch to alternate screen?
It's possible to do in URrxvt with:
or for XTerm using:
I've tried a few different combinations for Kitty, but I couldn't find anything that would work. I was expecting this to work: