kitty: scrollback pager stuff

This commit is contained in:
cy 2025-01-21 23:25:52 -05:00
parent 412e22c424
commit a4232d2514

View file

@ -13,6 +13,11 @@
# for confirmation # for confirmation
confirm_os_window_close = 0; confirm_os_window_close = 0;
clear_all_shortcuts = true; clear_all_shortcuts = true;
# will probably lower this later but the max allowed is actually 4GB
# this is NOT stored in memory and can only be viewed wth scrollback_pager
"scrollback_pager_history_size" = "1024";
"scrollback_pager" = "bat --pager='less -FR +G'";
}; };
keybindings = { keybindings = {
# kitty_mod is ctrl+shift by default # kitty_mod is ctrl+shift by default
@ -20,6 +25,8 @@
"kitty_mod+v" = "paste_from_clipboard"; "kitty_mod+v" = "paste_from_clipboard";
# "ctrl+q" = "quit"; # "ctrl+q" = "quit";
"kitty_mod+m" = "show_scrollback";
# windows # windows
"kitty_mod+h" = "neighboring_window left"; "kitty_mod+h" = "neighboring_window left";
"kitty_mod+alt+h" = "move_window left"; "kitty_mod+alt+h" = "move_window left";