From e8de90eac9cd043e39362ed5f246a0bac0c67de9 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 6 Mar 2026 16:13:13 -0800 Subject: [PATCH] New backup 2026-03-06 16:13:13 --- default/exclude | 1 + default/home/.config/helix/config.toml | 66 +++++++++++++++++++ default/home/.config/helix/languages.toml | 13 ++++ .../.config/helix/themes/seoul256-custom.toml | 21 ++++++ default/include | 1 + 5 files changed, 102 insertions(+) create mode 100644 default/home/.config/helix/config.toml create mode 100644 default/home/.config/helix/languages.toml create mode 100644 default/home/.config/helix/themes/seoul256-custom.toml diff --git a/default/exclude b/default/exclude index 48dabb8..b8fb794 100644 --- a/default/exclude +++ b/default/exclude @@ -1 +1,2 @@ .config/nvim/lazy-lock.json +.config/helix/runtime diff --git a/default/home/.config/helix/config.toml b/default/home/.config/helix/config.toml new file mode 100644 index 0000000..b105276 --- /dev/null +++ b/default/home/.config/helix/config.toml @@ -0,0 +1,66 @@ +theme = "seoul256-custom" + +[editor] +line-number = "relative" +shell = ["bash", "-c"] +scroll-lines = 1 +continue-comments = false +auto-completion = true +path-completion = true +auto-format = true +insert-final-newline = true +trim-trailing-whitespace = true +popup-border = "all" +clipboard-provider = "wayland" + +[editor.statusline] +mode.normal = "" +mode.insert = "" +mode.select = "󱄽" + +[editor.lsp] +enable = true +display-messages = true +snippets = true +display-inlay-hints = true + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.file-picker] +hidden = false +max-depth = 1 + +[editor.indent-guides] +render = true + +[editor.whitespace] +render = "all" + +[editor.whitespace.characters] +space = " " +nbsp = "⍽" +nnbsp = "␣" +tab = "→" +newline = "" +tabpad = "·" + +[editor.gutters] +layout = ["diff", "diagnostics", "line-numbers", "spacer"] + +[editor.gutters.line-numbers] +min-width = 2 + +[keys.insert] +esc = ["collapse_selection", "normal_mode"] + +[keys.normal] +esc = ["collapse_selection", "keep_primary_selection"] +ret = ["move_line_down", "goto_first_nonwhitespace"] +0 = "goto_line_start" + +[keys.select] +esc = ["collapse_selection", "keep_primary_selection", "normal_mode"] +0 = "goto_line_start" diff --git a/default/home/.config/helix/languages.toml b/default/home/.config/helix/languages.toml new file mode 100644 index 0000000..368577c --- /dev/null +++ b/default/home/.config/helix/languages.toml @@ -0,0 +1,13 @@ +[[language]] +name = "rust" + +[language-server.rust-analyzer.config.check] +command = "clippy" +features = "all" + +[language-server.rust-analyzer.config.rustfmt] +extraArgs = [ "+nightly" ] + +[language-server.rust-analyzer.config] +inlayHints.closureReturnTypeHints.enable = "always" +inlayHints.closureCaptureHints.enable = true diff --git a/default/home/.config/helix/themes/seoul256-custom.toml b/default/home/.config/helix/themes/seoul256-custom.toml new file mode 100644 index 0000000..69ad54b --- /dev/null +++ b/default/home/.config/helix/themes/seoul256-custom.toml @@ -0,0 +1,21 @@ +# Seoul256 Dark Soft +# Author : EricHenry +# Original Creator: https://github.com/junegunn/seoul256.vim + +inherits = "seoul256-dark" + +"ui.background" = { } +"ui.gutter" = { modifiers = ["dim", "bold"] } +"ui.linenr" = { fg = "salmon" } +"ui.cursorline.primary" = { bg = "gray5" } +"ui.gutter.selected" = { bg = "gray8" } +"ui.linenr.selected" = { fg = "salmon2", modifiers = ["bold"] } + +"ui.help" = { bg = "gray5" } +"ui.popup" = { bg = "gray5" } +"ui.menu" = { bg = "gray7" } +"ui.statusline" = { fg = "yellow1", modifiers = ["bold"] } +"ui.statusline.inactive" = { fg = "yellow", modifiers = ["dim"] } +"ui.statusline.normal" = { fg = "salmon2" } +"ui.statusline.insert" = { fg = "green3" } +"ui.statusline.select" = { fg = "cyan" } diff --git a/default/include b/default/include index 13a585c..dad395b 100644 --- a/default/include +++ b/default/include @@ -16,3 +16,4 @@ Scripts/fix-swap-part.sh .local/bin/ssh-agent-handler.sh .config/starship.toml .config/nvim +.config/helix