kitty: scrollback pager stuff
This commit is contained in:
parent
412e22c424
commit
e9e20c15a6
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,12 @@
|
||||||
# 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";
|
||||||
|
# see https://github.com/sharkdp/bat/issues/1077#issuecomment-652785399
|
||||||
|
"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 +26,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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue