random-stuff/basic_configs/helix/config.toml

63 lines
1.2 KiB
TOML
Raw Permalink Normal View History

2024-04-02 11:42:42 +05:00
# 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
2024-05-22 13:43:56 +05:00
[editor.soft-wrap]
enable = true
2024-04-02 11:42:42 +05:00
# 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"