-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
140 lines (121 loc) · 3 KB
/
config.toml
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
theme = "dracula_at_night"
[editor]
scrolloff = 2
mouse = true
middle-click-paste = false
scroll-lines = 3
# shell = ["sh", "-c"]
line-number = "absolute"
cursorline = true
cursorcolumn = false
# gutters = ["diagnostics", "spacer", "line-numbers", "spacer", "diff"]
auto-completion = true
auto-format = false
idle-timeout = 250
completion-timeout = 250
preview-completion-insert = true
completion-trigger-len = 1
completion-replace = false
auto-info = true
true-color = false
undercurl=false
rulers = [80]
bufferline = "never"
color-modes = true
text-width = 80
workspace-lsp-roots = []
default-line-ending = "native"
insert-final-newline = true
popup-border = "none"
indent-heuristic = "hybrid"
jump-label-alphabet = "abcdefghijklmnopqrstuvwxyz"
[editor.statusline]
# left = ["mode", "file-name", "file-modification-indicator", "file-encoding", "file-line-ending", "file-type", "version-control"]
left = ["mode", "spacer", "version-control", "file-name", "file-encoding", "file-line-ending", "file-type", "read-only-indicator", "file-modification-indicator"]
center = ["spinner", "diagnostics", "workspace-diagnostics", ]
right = ["selections", "primary-selection-length", "separator", "position", "total-line-numbers", "separator", "position-percentage" ]
separator = "|"
mode.normal = "NOR"
mode.insert = "INS"
mode.select = "SEL"
[editor.lsp]
enable = true
display-messages = true
auto-signature-help = true
display-inlay-hints = true
display-signature-help-docs = true
snippets = true
goto-reference-include-declaration = true
[editor.cursor-shape]
normal = "block"
insert = "block"
select = "block"
[editor.file-picker]
hidden = false
follow-symlinks = true
deduplicate-links = true
parents = true
ignore = true
git-ignore = true
git-global = true
git-exclude = true
# max-depath = None
[editor.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
'`' = '`'
'<' = '>'
"'" = "'"
[editor.auto-save]
focus-lost = false
after-delay.enable = false
after-delay.timeout = 3000
[editor.search]
smart-case = true
wrap-around = true
[editor.whitespace.render]
space = "none"
tab = "all"
newline = "none"
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
nnbsp = "␣"
tab = "→"
newline = "⏎"
tabpad = "·" # Tabs will look like "→···" (depending on tab width)space = "·"
[editor.indent-guides]
render = true
character = "╎" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 1
[editor.gutters]
layout = ["diff", "diagnostics", "line-numbers", "spacer"]
[editor.gutters.line-numbers]
min-width = 3
[editor.soft-wrap]
enable = false
max-wrap = 20
max-indent-retain = 40
wrap-indicator = '↪'
wrap-at-text-width = false
[editor.smart-tab]
enable = true
supersede-menu = false
[keys.normal]
A-h = "jump_view_left"
A-j = "jump_view_down"
A-k = "jump_view_up"
A-l = "jump_view_right"
X = "extend_line_above"
[keys.insert]
A-h = "jump_view_left"
A-j = "jump_view_down"
A-k = "jump_view_up"
A-l = "jump_view_right"
[keys.select]
A-h = "jump_view_left"
A-j = "jump_view_down"
A-k = "jump_view_up"
A-l = "jump_view_right"