diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 88faf89..9d5aac2 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -1,15 +1,34 @@ -theme = "ayu_dark" +theme = "triston" [editor] true-color = true mouse = false -rulers = [80] +gutters = ["diagnostics", "spacer", "diff"] shell = ['fish', '-c'] bufferline = "always" +auto-format = true + +[editor.statusline] +left=["mode", "spinner", "file-name", "read-only-indicator", "file-modification-indicator"] +center=[] +right=["diagnostics", "selections", "register", "position", "file-encoding"] +separator="|" [keys.normal] tab = [":buffer-next"] S-tab = [":buffer-previous"] +"{" = ["goto_prev_paragraph", "collapse_selection"] +"}" = ["goto_next_paragraph", "collapse_selection"] +G = "goto_file_end" +esc = ["collapse_selection", "keep_primary_selection"] + +[keys.insert] +esc = ["collapse_selection", "normal_mode"] + +[keys.select] +"{" = ["extend_to_line_bounds", "goto_prev_paragraph"] +"}" = ["extend_to_line_bounds", "goto_next_paragraph"] +esc = ["collapse_selection", "keep_primary_selection", "normal_mode"] [keys.normal.space] x = [":buffer-close"] diff --git a/.config/helix/themes/triston.toml b/.config/helix/themes/triston.toml new file mode 100644 index 0000000..8ef5246 --- /dev/null +++ b/.config/helix/themes/triston.toml @@ -0,0 +1,2 @@ +inherits = "tokyonight" +