-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathov-less.yaml
More file actions
378 lines (371 loc) · 8.18 KB
/
ov-less.yaml
File metadata and controls
378 lines (371 loc) · 8.18 KB
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
# This is a file with less key bindings set.
# Copy it to `$XDG_CONFIG_HOME/ov/config.yaml` or start it with `ov --config ov.yaml`.
# Thanks to hupfdule (Marco Herrn) for the less keybinding information.
#
# QuitSmall: false # Quit if the file size is smaller than the terminal size.
# IsWriteOriginal: false # Write the original content when exiting.
# BeforeWriteOriginal: 0 # Write the number of lines before the current location when exiting.
# AfterWriteOriginal: 0 # Write the number of lines after the current location when exiting.
#
# CaseSensitive: false # Case sensitive search.
# SmartCaseSensitive: false # Case sensitive search if the search string contains uppercase characters.
# RegexpSearch: false # Regular expression search.
# Incsearch: true # Incremental search.
#
# MemoryLimit: -1 # The maximum number of lines that can be loaded into memory.
# MemoryLimitFile: 100 # The maximum number of lines that can be loaded into memory when opening a file.
#
# DisableMouse: false # Disable mouse support.
# DisableColumnCycle: false # Disable cycling when moving columns.
# DisableStickyFollow: false # Disable sticky follow mode.
#
# ViewMode: markdown # Default view mode.
#
# For ClipboardMethod, specify “OSC52” to copy using OSC52 (if the terminal supports it).
# ClipboardMethod: "default" # Clipboard method. Options: "OSC52" or other.
#
# SidebarWidth: 20% # Width of the sidebar. Can be specified in percentage or fixed width (e.g., "30" for 30 columns).
# SideBarMode: "none" # Sidebar mode. Options: "help", "sections", "marks", "none".
#
# SetTerminalTitle: false # Set terminal title to display filename.
#
# Debug: false # Debug mode.
#
# ShrinkChar: '…' # Characters displayed when the column is shrinking.
# ReadWaitTime: 1s # Time to wait for a search while reading. 1s is the default.
General:
TabWidth: 4
Header: 0
AlternateRows: false
ColumnMode: false
LineNumMode: false
WrapMode: true
ColumnDelimiter: ","
MarkStyleWidth: 1
# HScrollWidth: 10%
# VScrollLines: 2
Prompt:
Normal:
# ShowFilename: true # Show the filename.
# InvertColor: true # Invert the color of the prompt.
# ProcessOfCount: true # Show the process of count.
# CursorType: 0 # Cursor type for the normal prompt.
Input:
# CursorType: 1 # Cursor type for the input prompt.
# Style
# String of the color name: Foreground, Background, UnderlineColor
# Boolean: Bold, Blink, Dim, Italic, Underline
# Number: UnderlineStyle
Style:
Alternate:
Background: "gray"
Header:
Bold: true
Body:
# Add appropriate styles here
OverStrike:
Bold: true
OverLine:
Underline: true
LineNumber:
Bold: true
SearchHighlight:
Reverse: true
ColumnHighlight:
Reverse: true
MarkLine:
Background: "darkgoldenrod"
SectionLine:
Background: "slateblue"
VerticalHeader:
# Add appropriate styles here
Ruler:
Background: "#333333"
Foreground: "#CCCCCC"
Bold: true
HeaderBorder:
# Add appropriate styles here
SectionHeaderBorder:
# Add appropriate styles here
VerticalHeaderBorder:
Background: "#c0c0c0"
MultiColorHighlight:
- Foreground: "red"
- Foreground: "aqua"
- Foreground: "yellow"
- Foreground: "fuchsia"
- Foreground: "lime"
- Foreground: "blue"
- Foreground: "grey"
ColumnRainbow:
- Foreground: "white"
- Foreground: "crimson"
- Foreground: "aqua"
- Foreground: "lightsalmon"
- Foreground: "lime"
- Foreground: "blue"
- Foreground: "yellowgreen"
JumpTargetLine:
Underline: true
# Keybind
# Special key
# "Enter","Backspace","Tab","Backtab","Esc",
# "Delete", "Insert",
# "Up", "Down", "Left", "Right", "Home", "End",
# "F1...F64"
# Modifier key
# "ctrl", "alt", "meta", "shift"
# Connect with modifier key + key
# "ctrl+c"
KeyBind:
exit:
- "Escape"
- "q"
cancel:
- "ctrl+c"
write_exit:
- "Q"
set_write_exit:
- "ctrl+q"
write_original:
- "alt+shift+F8"
suspend:
- "ctrl+z"
edit:
- "v"
status_line:
- "ctrl+F10"
sync:
- "r"
- "ctrl+l"
reload:
- "R"
- "ctrl+r"
watch:
- "T"
- "ctrl+alt+w"
watch_interval:
- "ctrl+w"
follow_mode:
- "F"
follow_all:
- "ctrl+a"
follow_section:
- "F2"
help:
- "h"
- "ctrl+alt+c"
logdoc:
- "ctrl+alt+e"
down:
- "e"
- "ctrl+e"
- "j"
- "J"
- "ctrl+j"
- "Enter"
- "Down"
up:
- "y"
- "Y"
- "ctrl+y"
- "k"
- "K"
- "ctrl+k"
- "Up"
top:
- "Home"
- "g"
- "<"
bottom:
- "End"
- ">"
- "G"
left:
- "left"
right:
- "right"
half_left:
- "ctrl+left"
half_right:
- "ctrl+right"
page_up:
- "PageUp"
- "b"
- "alt+v"
page_down:
- "PageDown"
- "ctrl+v"
- "alt+space"
- "f"
- "z"
page_half_up:
- "u"
- "ctrl+u"
page_half_down:
- "d"
- "ctrl+d"
section_delimiter:
- "alt+d"
section_start:
- "ctrl+F3"
- "alt+s"
section_header_num:
- "F7"
hide_other:
- "alt+-"
next_section:
- "space"
last_section:
- "9"
previous_section:
- "^"
mark:
- "m"
remove_mark:
- "M"
remove_all_mark:
- "ctrl+delete"
next_mark:
- "alt+>"
previous_mark:
- "alt+<"
set_view_mode:
- "p"
- "P"
alter_rows_mode:
- "C"
line_number_mode:
- "alt+n"
search:
- "/"
wrap_mode:
- "w"
- "W"
column_mode:
- "c"
backsearch:
- "?"
delimiter:
- "F8"
header:
- "H"
skip_lines:
- "ctrl+s"
tabwidth:
- "t"
goto:
- ":"
next_search:
- "n"
next_backsearch:
- "N"
next_doc:
- "]"
previous_doc:
- "["
toggle_mouse:
- "ctrl+F8"
- "ctrl+alt+r"
multi_color:
- "."
jump_target:
- "alt+j"
save_buffer:
- "s"
convert_type:
- "ctrl+alt+t"
align_format:
- "ctrl+alt+f"
raw_format:
- "ctrl+alt+g"
vertical_header:
- "ctrl+alt+b"
header_column:
- "ctrl+alt+d"
fixed_column:
- "alt+f"
shrink_column:
- "alt+x"
right_align:
- "alt+a"
toggle_ruler:
- "alt+shift+F9"
plain_mode:
- "ctrl+F7"
rainbow_mode:
- "ctrl+F4"
close_file:
- "ctrl+F9"
- "ctrl+alt+s"
width_left:
- "alt+left"
width_right:
- "alt+right"
begin_left:
- "shift+Home"
end_right:
- "shift+End"
column_width:
- "alt+o"
filter:
- "&"
close_doc:
- "alt+k"
close_all_filter:
- "ctrl+alt+k"
sidebar_help:
- "alt+h"
sidebar_marks:
- "alt+m"
sidebar_doc_list:
- "alt+l"
sidebar_sections:
- "alt+u"
sidebar_up:
- "shift+up"
sidebar_down:
- "shift+down"
sidebar_left:
- "shift+left"
sidebar_right:
- "shift+right"
input_casesensitive:
- "alt+c"
input_smart_casesensitive:
- "alt+s"
input_incsearch:
- "alt+i"
input_regexp_search:
- "alt+r"
input_non_match:
- "!"
input_previous:
- "Up"
input_next:
- "Down"
input_copy:
- "ctrl+c"
input_paste:
- "ctrl+v"
Mode:
markdown:
SectionDelimiter: "^#"
WrapMode: true
Style:
SectionLine:
Background: "blue"
psql:
Header: 2
AlternateRows: true
ColumnMode: true
LineNumMode: false
WrapMode: true
ColumnDelimiter: "|"
mysql:
Header: 3
AlternateRows: true
ColumnMode: true
LineNumMode: false
WrapMode: true
ColumnDelimiter: "|"