132 lines
2.5 KiB
TOML
132 lines
2.5 KiB
TOML
theme = "gruvbox_dark_hard"
|
|
|
|
[editor]
|
|
line-number = "relative"
|
|
bufferline = "never"
|
|
scrolloff = 10
|
|
popup-border = "popup"
|
|
end-of-line-diagnostics = "hint"
|
|
|
|
[editor.inline-diagnostics]
|
|
cursor-line = "error"
|
|
other-lines = "disable"
|
|
|
|
[editor.statusline]
|
|
left = [
|
|
"mode",
|
|
"spinner",
|
|
"file-type",
|
|
"file-name",
|
|
"version-control",
|
|
"read-only-indicator",
|
|
"file-modification-indicator"
|
|
]
|
|
center = []
|
|
right = [
|
|
"diagnostics",
|
|
"selections",
|
|
"register",
|
|
"position",
|
|
"position-percentage",
|
|
"file-encoding"
|
|
]
|
|
mode.normal = "NORMAL"
|
|
mode.insert = "INSERT"
|
|
mode.select = "SELECT"
|
|
|
|
[editor.cursor-shape]
|
|
normal = "block"
|
|
insert = "bar"
|
|
select = "underline"
|
|
|
|
[editor.file-picker]
|
|
hidden = false
|
|
|
|
[editor.indent-guides]
|
|
render = true
|
|
skip-levels = 1
|
|
|
|
[editor.lsp]
|
|
auto-signature-help = false
|
|
display-messages = true
|
|
|
|
[editor.soft-wrap]
|
|
enable = true
|
|
|
|
[keys.normal]
|
|
esc = ["collapse_selection", "keep_primary_selection"]
|
|
|
|
B = "extend_to_line_start"
|
|
H = "goto_line_start"
|
|
E = "extend_to_line_end"
|
|
L = "goto_line_end"
|
|
A-w = "extend_next_word_start"
|
|
A-e = "extend_next_word_end"
|
|
A-b = "extend_prev_word_start"
|
|
X = "extend_line_above"
|
|
d = "delete_selection_noyank"
|
|
A-d = "delete_selection"
|
|
c = "change_selection_noyank"
|
|
A-c = "change_selection"
|
|
A-n = "extend_search_next"
|
|
A-p = "extend_search_prev"
|
|
y = ["yank_to_clipboard","yank"]
|
|
|
|
S-v = ["extend_to_line_bounds","select_mode"]
|
|
S-ret = ["open_below", "insert_mode"]
|
|
|
|
"{" = "goto_prev_paragraph"
|
|
"}" = "goto_next_paragraph"
|
|
"[" = { "[" = "goto_previous_buffer" }
|
|
"]" = { "]" = "goto_next_buffer" }
|
|
|
|
[keys.select]
|
|
B = "extend_to_line_start"
|
|
H = "goto_line_start"
|
|
E = "extend_to_line_end"
|
|
L = "goto_line_end"
|
|
A-w = "extend_next_word_start"
|
|
A-e = "extend_next_word_end"
|
|
A-b = "extend_prev_word_start"
|
|
X = "extend_line_above"
|
|
d = "delete_selection_noyank"
|
|
A-d = "delete_selection"
|
|
c = "change_selection_noyank"
|
|
A-c = "change_selection"
|
|
A-n = "extend_search_next"
|
|
A-p = "extend_search_prev"
|
|
y = ["yank_to_clipboard","yank"]
|
|
|
|
[keys.normal.space]
|
|
l = ":toggle lsp.display-inlay-hints"
|
|
F = "no_op"
|
|
E = "no_op"
|
|
|
|
[keys.normal.space.b]
|
|
b = "buffer_picker"
|
|
q = ":buffer-close"
|
|
Q = ":buffer-close-all"
|
|
C = ":buffer-close-others --skip-visible"
|
|
tab = "goto_last_accessed_file"
|
|
|
|
[keys.normal.space.f]
|
|
f = "file_picker"
|
|
F = "file_picker_in_current_directory"
|
|
e = "file_explorer"
|
|
E = "file_explorer_in_current_directory"
|
|
w = ":write"
|
|
g = "changed_file_picker"
|
|
|
|
[keys.normal.space.r]
|
|
r = ":reload"
|
|
R = ":reload-all"
|
|
c = ":config-reload"
|
|
|
|
[keys.normal.space.z]
|
|
z = ":wq"
|
|
a = ":wqa"
|
|
|
|
[keys.insert]
|
|
C-g = "normal_mode"
|
|
C-h = "move_char_left"
|
|
C-l = "move_char_right"
|