config/kitty: modularize config

This commit is contained in:
xeruf 2022-07-07 12:28:39 +02:00
parent e443ca810e
commit 6569378a9e
3 changed files with 8 additions and 5 deletions

View File

@ -233,11 +233,6 @@
#: Scrollback {{{ #: Scrollback {{{
# default scrollback pager
scrollback_pager ~/.config/kitty/scrollback_pager 'INPUT_LINE_NUMBER' 'CURSOR_LINE' 'CURSOR_COLUMN'
# launch action (optional `--stdin-add-formatting`)
map f1 launch --type overlay --stdin-source=@screen_scrollback ~/.config/kitty/scrollback_pager
# scrollback_lines 2000 # scrollback_lines 2000
#: Number of lines of history to keep in memory for scrolling back. #: Number of lines of history to keep in memory for scrolling back.
@ -2170,3 +2165,6 @@ map f1 launch --type overlay --stdin-source=@screen_scrollback ~/.config/kitty/s
#: }}} #: }}}
#: }}} #: }}}
include pager.conf
include local.conf

View File

@ -0,0 +1 @@
font_size 16

4
.config/kitty/pager.conf Normal file
View File

@ -0,0 +1,4 @@
# default scrollback pager
scrollback_pager ~/.config/kitty/scrollback_pager 'INPUT_LINE_NUMBER' 'CURSOR_LINE' 'CURSOR_COLUMN'
# launch action (optional `--stdin-add-formatting`)
map f1 launch --type overlay --stdin-source=@screen_scrollback ~/.config/kitty/scrollback_pager