2023-05-09 12:39:56 -05:00
|
|
|
theme = "custom"
|
2022-05-18 01:27:19 -05:00
|
|
|
|
2022-05-19 09:27:29 -05:00
|
|
|
[editor]
|
2023-06-20 20:25:37 -05:00
|
|
|
soft-wrap.enable = true
|
2022-05-19 09:27:29 -05:00
|
|
|
auto-pairs = false
|
2023-01-27 12:14:27 -06:00
|
|
|
auto-save = false
|
2023-06-29 17:01:16 -05:00
|
|
|
completion-trigger-len = 1
|
|
|
|
color-modes = false
|
2022-12-13 13:41:40 -06:00
|
|
|
bufferline = "multiple"
|
2022-05-19 09:27:29 -05:00
|
|
|
scrolloff = 8
|
2022-06-03 09:20:46 -05:00
|
|
|
rulers = [80, 120]
|
2022-10-11 23:11:57 -05:00
|
|
|
cursorline = true
|
2022-05-19 09:27:29 -05:00
|
|
|
|
2022-08-03 11:38:32 -05:00
|
|
|
[editor.cursor-shape]
|
|
|
|
normal = "block"
|
|
|
|
insert = "bar"
|
|
|
|
select = "underline"
|
2022-05-19 09:27:29 -05:00
|
|
|
|
|
|
|
[editor.file-picker]
|
|
|
|
hidden = false
|
|
|
|
|
2022-10-11 22:59:06 -05:00
|
|
|
[editor.indent-guides]
|
|
|
|
render = true
|
2022-10-30 10:55:02 -05:00
|
|
|
character = "▏"
|
2022-10-11 22:59:06 -05:00
|
|
|
|
2023-06-29 17:01:16 -05:00
|
|
|
[editor.lsp]
|
|
|
|
display-messages = true
|
|
|
|
display-inlay-hints = true
|
|
|
|
|
|
|
|
[editor.statusline]
|
|
|
|
left = ["mode", "spinner", "selections", "primary-selection-length", "position", "position-percentage", "diagnostics", "workspace-diagnostics"]
|
|
|
|
center = ["file-name"]
|
|
|
|
right = [ "version-control", "total-line-numbers", "file-encoding"]
|
|
|
|
|
2022-01-19 10:06:05 -06:00
|
|
|
[keys.insert]
|
2022-06-07 09:23:08 -05:00
|
|
|
j = { k = "normal_mode", j = "normal_mode", K = "normal_mode", J = "normal_mode" }
|
2022-05-19 09:27:29 -05:00
|
|
|
|
|
|
|
[keys.normal]
|
2022-06-07 09:33:15 -05:00
|
|
|
D = "kill_to_line_end"
|
|
|
|
"^" = "goto_line_start"
|
2022-07-21 11:53:08 -05:00
|
|
|
"C-k" = "jump_view_up"
|
|
|
|
"C-j" = "jump_view_down"
|
|
|
|
"C-h" = "jump_view_left"
|
2022-09-26 21:03:18 -05:00
|
|
|
"C-l" = "jump_view_right"
|
2023-06-06 00:57:28 -05:00
|
|
|
"C-q" = ":quit-all!"
|
2022-10-11 23:11:57 -05:00
|
|
|
"L" = "repeat_last_motion"
|
2023-04-21 23:50:06 -05:00
|
|
|
|
|
|
|
[keys.normal.space]
|
|
|
|
q = ":reflow 80"
|
|
|
|
Q = ":reflow 120"
|
|
|
|
v = ":run-shell-command fish -c 'env > /tmp/env'"
|
2023-04-25 14:13:44 -05:00
|
|
|
C = ":bc"
|
2023-07-14 10:28:43 -05:00
|
|
|
h = ":toggle lsp.display-inlay-hints"
|
2023-04-21 23:50:06 -05:00
|
|
|
# O = ["select_textobject_inner WORD", ":pipe-to xargs xdg-open"]
|
2022-10-11 23:11:57 -05:00
|
|
|
|
|
|
|
[keys.select]
|
|
|
|
space = { q = ":reflow 80", Q = ":reflow 120" }
|
2023-05-19 14:36:25 -05:00
|
|
|
"L" = "repeat_last_motion"
|