-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitty-diff.conf
executable file
·195 lines (115 loc) · 3.65 KB
/
kitty-diff.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# vim:fileencoding=utf-8:foldmethod=marker
#: Diffing {{{
# syntax_aliases pyj:py pyi: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. Multiple
#: aliases must be separated by spaces.
# 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. A few
#: special values are allowed: auto will automatically pick an
#: available diff implementation. builtin will use the anchored diff
#: algorithm from the Go standard library. git will use the git
#: command to do the diffing. diff will use the diff command to do the
#: diffing.
# replace_tab_by \x20\x20\x20\x20
#: The string to replace tabs with. Default is to use four spaces.
# ignore_name
#: A glob pattern that is matched against only the filename of files
#: and directories. Matching files and directories are ignored when
#: scanning the filesystem to look for files to diff. Can be specified
#: multiple times to use multiple patterns. For example::
#: ignore_name .git
#: ignore_name *~
#: ignore_name *.pyc
#: }}}
#: Colors {{{
# pygments_style default
#: The pygments color scheme to use for syntax highlighting. See
#: pygments builtin styles <https://pygments.org/styles/> for a list
#: of schemes. Note that this **does not** change the colors used for
#: diffing, only the colors used for syntax highlighting. To change
#: the general colors use the settings below.
# foreground black
# background white
#: Basic colors
# title_fg black
# title_bg white
#: Title colors
# margin_bg #fafbfc
# margin_fg #aaaaaa
#: Margin colors
# removed_bg #ffeef0
# highlight_removed_bg #fdb8c0
# removed_margin_bg #ffdce0
#: Removed text backgrounds
# added_bg #e6ffed
# highlight_added_bg #acf2bd
# added_margin_bg #cdffd8
#: Added text backgrounds
# filler_bg #fafbfc
#: Filler (empty) line background
# margin_filler_bg none
#: Filler (empty) line background in margins, defaults to the filler
#: background
# hunk_margin_bg #dbedff
# hunk_bg #f1f8ff
#: Hunk header colors
# search_bg #444
# search_fg white
# select_bg #b4d5fe
# select_fg black
#: Highlighting
#: }}}
#: Keyboard shortcuts {{{
#: Quit
# map q quit
# map esc quit
#: Scroll down
# map j scroll_by 1
# map down scroll_by 1
#: Scroll up
# map k scroll_by -1
# map up scroll_by -1
#: Scroll to top
# map home scroll_to start
#: Scroll to bottom
# map end scroll_to end
#: Scroll to next page
# map page_down scroll_to next-page
# map space scroll_to next-page
#: Scroll to previous page
# map page_up scroll_to prev-page
#: Scroll to next change
# map n scroll_to next-change
#: Scroll to previous change
# map p scroll_to prev-change
#: Show all context
# map a change_context all
#: Show default context
# map = change_context default
#: Increase context
# map + change_context 5
#: Decrease context
# map - change_context -5
#: Search forward
# map / start_search regex forward
#: Search backward
# map ? start_search regex backward
#: Scroll to next search match
# map . scroll_to next-match
# map > scroll_to next-match
#: Scroll to previous search match
# map , scroll_to prev-match
# map < scroll_to prev-match
#: Search forward (no regex)
# map f start_search substring forward
#: Search backward (no regex)
# map b start_search substring backward
#: Copy selection to clipboard
# map y copy_to_clipboard
#: Copy selection to clipboard or exit if no selection is present
# map ctrl+c copy_to_clipboard_or_exit
#: }}}