-
Notifications
You must be signed in to change notification settings - Fork 19
/
config_linux.go
82 lines (65 loc) · 1.32 KB
/
config_linux.go
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
// +build linux
package cfg
var DEFUALT_TOML_CONFIG = `[editor]
tab_size = 4
hungry_backspace = true
tabs_are_spaces = true
match_braces = false
maintain_indentation = true
highlight_line = true
font_face = "Courier"
font_size = 20
show_line_numbers = true
[render]
aliased = true
accelerated = true
throttle_cpu_usage = true
always_render = true
syntax_highlighting = true
[file_associations]
[file_associations.toml]
extensions = [".toml"]
[file_associations.c]
extensions = [".c", ".h", ".cc"]
[file_associations.go]
extensions = [".go"]
[file_associations.md]
extensions = [".md"]
[theme]
background = 0x002649
foreground = 0xf2f4f6
cursor = 0xf2f4f6
cursor_invert = 0x000000
gutter_background = 0x000000
gutter_foreground = 0xf2f4f6
[theme.palette]
outline = 0xebedef
background = 0xffffff
foreground = 0x000000
cursor = 0xf2f4f6
render_shadow = true
shadow_color = 0x000000
[theme.palette.suggestion]
background = 0xebedef
foreground = 0x3a3839
selected_background = 0xc7cbd1
selected_foreground = 0x3a3839
[cursor]
flash_rate = 400
reset_delay = 400
draw = true
flash = true
[commands]
[commands.exit]
shortcut = "ctrl+q"
[commands.show_palette]
shortcut = "ctrl+p"
[commands.save]
shortcut = "ctrl+s"
[commands.paste]
shortcut = "ctrl+v"
[commands.close_buffer]
shortcut = "ctrl+w"
[commands.delete_line]
shortcut = "ctrl+d"
`