helix: Update editor settings
This commit is contained in:
parent
0236ac5434
commit
45f8f60599
1 changed files with 32 additions and 8 deletions
|
|
@ -3,27 +3,51 @@ theme = "jdkaplan"
|
||||||
[editor]
|
[editor]
|
||||||
scrolloff = 1
|
scrolloff = 1
|
||||||
cursorline = true
|
cursorline = true
|
||||||
gutters = [
|
trim-final-newlines = true
|
||||||
"diff",
|
trim-trailing-whitespace = true
|
||||||
"diagnostics",
|
|
||||||
"line-numbers",
|
|
||||||
"spacer",
|
|
||||||
]
|
|
||||||
|
|
||||||
[editor.cursor-shape]
|
[editor.cursor-shape]
|
||||||
insert = "bar"
|
insert = "bar"
|
||||||
normal = "block"
|
normal = "block"
|
||||||
select = "underline"
|
select = "underline"
|
||||||
|
|
||||||
|
[editor.file-picker]
|
||||||
|
hidden = false
|
||||||
|
deduplicate-links = false
|
||||||
|
|
||||||
|
[editor.indent-guides]
|
||||||
|
render = true
|
||||||
|
character = "┊"
|
||||||
|
skip-levels = 1
|
||||||
|
|
||||||
|
[editor.gutters]
|
||||||
|
layout = [
|
||||||
|
"diff",
|
||||||
|
"diagnostics",
|
||||||
|
"line-numbers",
|
||||||
|
"spacer",
|
||||||
|
]
|
||||||
|
line-numbers = { min-width = 1 }
|
||||||
|
|
||||||
[editor.soft-wrap]
|
[editor.soft-wrap]
|
||||||
enable = true
|
enable = true
|
||||||
wrap-indicator = ""
|
wrap-indicator = ""
|
||||||
max-indent-retain = 0
|
max-indent-retain = 0
|
||||||
|
|
||||||
[editor.statusline]
|
[editor.statusline]
|
||||||
left = ["mode", "spinner", "file-name"]
|
left = [
|
||||||
|
"mode",
|
||||||
|
"spinner",
|
||||||
|
"file-name",
|
||||||
|
]
|
||||||
center = []
|
center = []
|
||||||
right = ["diagnostics", "selections", "position", "position-percentage", "file-encoding"]
|
right = [
|
||||||
|
"diagnostics",
|
||||||
|
"selections",
|
||||||
|
"position",
|
||||||
|
"position-percentage",
|
||||||
|
"file-encoding",
|
||||||
|
]
|
||||||
|
|
||||||
[keys.normal]
|
[keys.normal]
|
||||||
"C-l" = [":config-reload", ":redraw"]
|
"C-l" = [":config-reload", ":redraw"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue