Files
kitty-config/diff.conf
T
2024-07-06 09:21:36 -04:00

132 lines
3.1 KiB
Plaintext

# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
#: Diffing {{{
syntax_aliases pyj:py recipe:py
#: File extension aliases for syntax highlight For example, to syntax
#: highlight file.xyz as file.abc use a setting of xyz:abc
num_context_lines 3
#: The number of lines of context to show around each change.
diff_cmd auto
#: The diff command to use. Must contain the placeholder _CONTEXT_
#: which will be replaced by the number of lines of context. The
#: default is to search the system for either git or diff and use
#: that, if found.
replace_tab_by \x20\x20\x20\x20
#: The string to replace tabs with. Default is to use four spaces.
#: }}}
#: Colors {{{
pygments_style catppuccin-frappe
#: The pygments color scheme to use for syntax highlighting. See
#: pygments colors schemes <https://help.farbox.com/pygments.html> for
#: a list of schemes.
# text
foreground #c6d0f5
# base
background #303446
# subtext0
title_fg #a5adce
# mantle
title_bg #292c3c
margin_bg #292c3c
# subtext1
margin_fg #a5adce
# mantle
filler_bg #292c3c
# 30% red, 70% base
removed_bg #684b59
# 50% red, 50% base
highlight_removed_bg #8c5b65
# 40% red, 60% base
removed_margin_bg #79535f
# 30% green, 70% base
added_bg #54635a
# 50% green, 50% base
highlight_added_bg #6b8368
# 40% green, 60% base
added_margin_bg #79535f
# mantle
hunk_margin_bg #292c3c
hunk_bg #292c3c
# 40% yellow, 60% base
search_bg #796f64
# text
search_fg #c6d0f5
# 30% sky, 70% base
select_bg #506373
# text
select_fg #c6d0f5
#: Highlighting
#: }}}
#: Keyboard shortcuts {{{
map q quit
map esc quit
map j scroll_by 1
map down scroll_by 1
map k scroll_by -1
map up scroll_by -1
map home scroll_to start
map end scroll_to end
map page_down scroll_to next-page
map space scroll_to next-page
map page_up scroll_to prev-page
map n scroll_to next-change
map p scroll_to prev-change
map a change_context all
map = change_context default
map + change_context 5
map - change_context -5
map / start_search regex forward
map ? start_search regex backward
map . scroll_to next-match
map > scroll_to next-match
map , scroll_to prev-match
map < scroll_to prev-match
map f start_search substring forward
map b start_search substring backward
#: }}}
#foreground #C6D0F5
#background #303446
#title_fg #303446
#title_bg #F2D5CF
#margin_bg #CA9EE6
#margin_fg #232634
#removed_bg #e78284
#highlight_removed_bg #C6D0F5
#removed_margin_bg #292C3C
#filler_bg #303446
#added_bg #a6d189
#highlight_added_bg #303446
#added_margin_bg #BABBF1
#hunk_margin_bg #BABBF1
#hunk_bg #303446
#margin_filler_bg none
#search_bg #303446
#search_fg white
#select_bg #303446
#select_fg black