dotfiles/dot_config/helix/config.toml

96 lines
2 KiB
TOML
Raw Normal View History

2026-01-28 17:46:39 +00:00
theme = "catppuccin_macchiato"
[editor]
line-number = "relative"
mouse = true
cursorline = true
auto-save = true
bufferline = "multiple"
color-modes = true
true-color = true
rulers = [80, 120]
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.statusline]
left = ["mode", "spinner", "file-name", "file-modification-indicator"]
center = []
right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.lsp]
display-messages = true
display-inlay-hints = true
[editor.indent-guides]
render = true
character = "│"
skip-levels = 1
[editor.soft-wrap]
enable = true
[editor.file-picker]
hidden = false
# ─────────────────────────────────────────────────────────────
# Key Bindings
# ─────────────────────────────────────────────────────────────
[keys.normal]
# Quick save
C-s = ":w"
# Buffer navigation
H = ":buffer-previous"
L = ":buffer-next"
# Close buffer
C-w = ":buffer-close"
# Quick quit
C-q = ":q"
# Clipboard operations (system clipboard)
space.y = ":clipboard-yank"
space.p = ":clipboard-paste-after"
space.P = ":clipboard-paste-before"
# File picker
space.f = "file_picker"
space.F = "file_picker_in_current_directory"
# Buffer picker
space.b = "buffer_picker"
# Symbol picker
space.s = "symbol_picker"
space.S = "workspace_symbol_picker"
# Diagnostics
space.d = "goto_next_diag"
space.D = "goto_prev_diag"
# Comment toggle
C-c = "toggle_comments"
# Format
space.l = ":format"
[keys.insert]
# Quick escape
j.k = "normal_mode"
# Quick save from insert mode
C-s = ["normal_mode", ":w"]
[keys.select]
# Clipboard operations in select mode
space.y = ":clipboard-yank"