🎉 First commit
This commit is contained in:
commit
cade5ac6b6
231 changed files with 48507 additions and 0 deletions
70
helix/config.toml
Normal file
70
helix/config.toml
Normal file
|
@ -0,0 +1,70 @@
|
|||
theme = "catppuccin_macchiato"
|
||||
|
||||
[editor]
|
||||
line-number = "relative"
|
||||
cursorline = true
|
||||
color-modes = true
|
||||
bufferline = "always"
|
||||
text-width = 72
|
||||
|
||||
[editor.statusline]
|
||||
left = ["mode", "spinner", "version-control", "read-only-indicator", "file-modification-indicator"]
|
||||
center = ["file-name"]
|
||||
right = ["diagnostics", "selections", "file-encoding", "register", "file-type", "position-percentage", "position"]
|
||||
separator = "│"
|
||||
mode.normal = "NORMAL"
|
||||
mode.insert = "INSERT"
|
||||
mode.select = "SELECT"
|
||||
|
||||
[editor.lsp]
|
||||
display-inlay-hints = true
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
normal = "block"
|
||||
select = "underline"
|
||||
|
||||
[editor.file-picker]
|
||||
hidden = false
|
||||
|
||||
[editor.indent-guides]
|
||||
render = true
|
||||
|
||||
[editor.soft-wrap]
|
||||
enable = true
|
||||
|
||||
[keys.normal]
|
||||
A-right = [":bn"]
|
||||
A-left = [":bp"]
|
||||
A-h = [":bn"]
|
||||
A-l = [":bp"]
|
||||
X = ["extend_line_up", "extend_to_line_bounds"]
|
||||
G = ["goto_last_line"]
|
||||
# Move line or selection up/down
|
||||
A-k = [
|
||||
"extend_to_line_bounds",
|
||||
"delete_selection",
|
||||
"move_line_up",
|
||||
"paste_before"
|
||||
]
|
||||
A-j = [
|
||||
"extend_to_line_bounds",
|
||||
"delete_selection",
|
||||
"move_line_down",
|
||||
"paste_before"
|
||||
]
|
||||
A-up = [
|
||||
"extend_to_line_bounds",
|
||||
"delete_selection",
|
||||
"move_line_up",
|
||||
"paste_before"
|
||||
]
|
||||
A-down = [
|
||||
"extend_to_line_bounds",
|
||||
"delete_selection",
|
||||
"move_line_down",
|
||||
"paste_before"
|
||||
]
|
||||
|
||||
[keys.select]
|
||||
X = ["extend_line_up", "extend_to_line_bounds"]
|
19
helix/languages.toml
Normal file
19
helix/languages.toml
Normal file
|
@ -0,0 +1,19 @@
|
|||
[[language]]
|
||||
name = "go"
|
||||
auto-format = true
|
||||
formatter = { command = "goimports" }
|
||||
|
||||
[[language]]
|
||||
name = "python"
|
||||
auto-format = true
|
||||
formatter = { command = "black", args = ["--line-length", "80", "--quiet", "-"] }
|
||||
|
||||
[[language]]
|
||||
name = "typst"
|
||||
auto-format = true
|
||||
formatter = { command = "typstyle" }
|
||||
|
||||
[[language]]
|
||||
name = "c"
|
||||
auto-format = true
|
||||
formatter = { command = "clang-format" }
|
Loading…
Add table
Add a link
Reference in a new issue