Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 968 Bytes

kitty.md

File metadata and controls

37 lines (25 loc) · 968 Bytes

kitty

Add a kitty terminfo config to a remote server

infocmp -x xterm-kitty | ssh <server> tic -x -o \~/.terminfo /dev/stdin

tic is the TermInfo Compiler, and infocmp is for printing the kitty terminfo (xterm-kitty) to stdout.

List available fonts

kitty +list-fonts --psnames

Enable scrollback of stdout history

To enter scrollback environment for the entire stdout history, enter <Ctrl+Shift+h>.

Alternative keymaps are <Ctrl+Shift+g> for viewing the output of the last command only and <Ctrl+Shift> + right-click on the command output to single out.

By default, kitty will use less for the pager, but changing the scrollback_pager in kitty.conf option allows for alternate programs.

To increase the number of lines available to the pages, edit the kitty.conf as follows:

scrollback_pager_history_size	<size>

The <size> is in Mb, where 1 Mb yields >10000 lines in the scrollback buffer.