From 92768fa1edc797daed86cc2b21290e44c5af4732 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Tue, 12 Nov 2024 11:11:14 -0500 Subject: [PATCH] update helix configs --- .config/helix/config.toml | 23 +++++++++++++++++++++-- .config/helix/themes/triston.toml | 2 ++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .config/helix/themes/triston.toml 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" +