Watch
1
0
Fork
You've already forked dotfiles
0
dotfiles/helix/config.toml

95 lines
1.8 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

theme = "jdkaplan"
[editor]
scrolloff = 1
cursorline = true
trim-final-newlines = true
trim-trailing-whitespace = true
end-of-line-diagnostics = "hint"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.inline-diagnostics]
cursor-line = "warning"
[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.lsp]
display-inlay-hints = true
inlay-hints-length-limit = 10
[editor.soft-wrap]
enable = true
wrap-indicator = ""
max-indent-retain = 0
[editor.statusline]
left = [
"mode",
"spinner",
"file-name",
"read-only-indicator",
"file-modification-indicator",
]
center = []
right = [
"diagnostics",
"selections",
"position",
"position-percentage",
"file-encoding",
]
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
nnbsp = "␣"
tab = "→"
newline = "⏎"
tabpad = ""
[keys.normal]
"C-l" = [":config-reload", ":redraw"]
[keys.normal.space.g]
"b" = ":sh git blame -L '%{selection_line_start},%{selection_line_end}' '%{buffer_name}'"
"f" = "changed_file_picker"
"h" = ":noop %sh{gh browse '%{buffer_name}:%{cursor_line}' --commit=%sh{git rev-parse HEAD}}"
[keys.normal.space.q]
"q" = ":reflow"
[keys.normal.space.t]
"w" = ":toggle whitespace.render all none"
"W" = ":toggle soft-wrap.enable"
[keys.normal.space.y]
"y" = "yank"
"j" = "yank_joined"
"d" = ":yank-diagnostic"
[keys.normal.space.Y]
"Y" = "yank_to_clipboard"
"j" = "yank_joined_to_clipboard"
"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}"
"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}"
"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"