61 lines
1.2 KiB
TOML
61 lines
1.2 KiB
TOML
|
# custom helix config
|
||
|
# mahmad2000@protonmail.com
|
||
|
|
||
|
# custom theme
|
||
|
theme = "molokai-terminal"
|
||
|
|
||
|
# editor settings
|
||
|
|
||
|
[editor]
|
||
|
scrolloff = 2
|
||
|
bufferline = "always"
|
||
|
auto-completion = false
|
||
|
auto-info = false
|
||
|
color-modes = true
|
||
|
|
||
|
[editor.statusline]
|
||
|
left = ["mode", "spacer", "file-name", "read-only-indicator", "file-modification-indicator", "file-encoding"]
|
||
|
center = ["position", "spacer", "register"]
|
||
|
right = ["diagnostics", "spacer", "version-control"]
|
||
|
|
||
|
[editor.lsp]
|
||
|
auto-signature-help = false
|
||
|
|
||
|
[editor.cursor-shape]
|
||
|
normal = "underline"
|
||
|
insert = "bar"
|
||
|
|
||
|
[editor.whitespace.render]
|
||
|
tab = "all"
|
||
|
|
||
|
[editor.indent-guides]
|
||
|
render = true
|
||
|
|
||
|
[editor.gutters]
|
||
|
layout = ["diagnostics", "line-numbers", "diff"]
|
||
|
|
||
|
[editor.gutters.line-numbers]
|
||
|
min-width = 4
|
||
|
|
||
|
|
||
|
# keybinds
|
||
|
|
||
|
# make yank change/delete deliberate instead of default
|
||
|
[keys.normal]
|
||
|
d = "delete_selection_noyank"
|
||
|
A-d = "delete_selection"
|
||
|
c = "change_selection_noyank"
|
||
|
A-c = "change_selection"
|
||
|
|
||
|
# less cursed insert movement if fat fingered a key
|
||
|
[keys.insert]
|
||
|
"C-left" = "move_prev_word_end"
|
||
|
"C-right" = "move_next_word_start"
|
||
|
|
||
|
# buffer control mode
|
||
|
[keys.normal."b"]
|
||
|
d = ":buffer-close"
|
||
|
n = "goto_next_buffer"
|
||
|
p = "goto_previous_buffer"
|
||
|
t = ":new"
|