From 49570c8dd03448240897b37b68567352b790f16f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 8 Oct 2023 12:09:20 -0400 Subject: convert to stow --- helix/.config/helix/config.toml | 34 ++++++++++++++++++ helix/.config/helix/languages.toml | 10 ++++++ helix/.config/helix/themes/doy.toml | 72 +++++++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 helix/.config/helix/config.toml create mode 100644 helix/.config/helix/languages.toml create mode 100644 helix/.config/helix/themes/doy.toml (limited to 'helix') diff --git a/helix/.config/helix/config.toml b/helix/.config/helix/config.toml new file mode 100644 index 0000000..879b51f --- /dev/null +++ b/helix/.config/helix/config.toml @@ -0,0 +1,34 @@ +theme = "doy" + +[editor] +gutters = ["diagnostics", "diff"] +auto-info = false +color-modes = true +true-color = true + +[editor.soft-wrap] +enable = true + +[editor.indent-guides] +render = true +character = "βΈ½" + +[editor.lsp] +display-messages = true + +[keys.normal] +tab = ":w" +"|" = ":q" +"\\" = "shell_pipe" + +"C-d" = ":buffer-close" + +"ret" = "goto_definition" +"backspace" = "jump_backward" + +[keys.normal.g] +j = "goto_last_line" +k = "goto_file_start" + +[keys.normal.space] +o = ":diffg" diff --git a/helix/.config/helix/languages.toml b/helix/.config/helix/languages.toml new file mode 100644 index 0000000..6624a1a --- /dev/null +++ b/helix/.config/helix/languages.toml @@ -0,0 +1,10 @@ +[[language]] +name = "rust" +config = { checkOnSave = { command = "clippy" }, cargo = { allFeatures = true }, diagnostics = { disabled = ["inactive-code"] } } + +[[language]] +name = "python" +language-server = { command = "pyright-langserver", args = ["--stdio"] } +config = {} +formatter = { command = "black", args = ["--quiet", "-"] } +auto-format = true diff --git a/helix/.config/helix/themes/doy.toml b/helix/.config/helix/themes/doy.toml new file mode 100644 index 0000000..ecd6942 --- /dev/null +++ b/helix/.config/helix/themes/doy.toml @@ -0,0 +1,72 @@ +"ui.background" = { bg = "black" } +"ui.cursor" = { fg = "green", modifiers = ["reversed"] } +"ui.cursor.match" = { fg = "light-cyan", bg = "dark-cyan" } +"ui.cursor.primary" = { fg = "light-green", modifiers = ["reversed"] } +"ui.menu" = { bg = "dark-white" } +"ui.menu.selected" = { fg = "yellow" } +"ui.popup" = { bg = "dark-white" } +"ui.selection" = { bg = "dark-white" } +"ui.statusline" = { fg = "light-magenta", bg = "dark-magenta" } +"ui.statusline.normal" = { fg = "black", bg = "light-yellow" } +"ui.statusline.insert" = { fg = "black", bg = "light-cyan" } +"ui.statusline.select" = { fg = "black", bg = "yellow" } +"ui.text" = { fg = "default" } +"ui.text.info" = { bg = "dark-white" } +"ui.text.focus" = { fg = "yellow" } +"ui.virtual.wrap" = { fg = "dark-blue" } +"ui.virtual.indent-guide" = { fg = "dark-blue" } +"ui.window" = { bg = "dark-white" } + +"diagnostic.error" = { bg = "dark-red" } +"diagnostic.warning" = { bg = "dark-yellow" } +"diagnostic.hint" = { bg = "dark-cyan" } +"diagnostic.info" = { bg = "dark-white" } +"warning" = { fg = "yellow", bg = "dark-yellow" } +"error" = { fg = "red", bg = "dark-red" } +"info" = { fg = "default", bg = "dark-white" } +"hint" = { fg = "cyan", bg = "dark-cyan" } + +"type" = "green" +"constructor" = "light-cyan" +"constant" = "red" +"constant.character.escape" = "magenta" +"string" = "red" +"comment" = "light-black" +"comment.documentation" = "magenta" +"label" = "green" +"keyword" = "yellow" +"keyword.directive" = "magenta" +"function" = "light-cyan" +"function.macro" = "magenta" +"special" = "cyan" + +"diff.plus" = "green" +"diff.minus" = "red" +"diff.delta" = "yellow" + +[palette] +black = "#000000" +red = "#ed5f74" +green = "#1ea672" +yellow = "#d97917" +blue = "#688ef1" +magenta = "#c96ed0" +cyan = "#3a97d4" +white = "#e3e8ee" +light-black = "#697386" +light-red = "#fbb5b2" +light-green = "#85d996" +light-yellow = "#efc078" +light-blue = "#9fcdff" +light-magenta = "#f0b4e4" +light-cyan = "#7fd3ed" +light-white = "#ffffff" +dark-black = "#000000" +dark-red = "#742833" +dark-green = "#00643c" +dark-yellow = "#6e3500" +dark-blue = "#2c4074" +dark-magenta = "#602864" +dark-cyan = "#144c71" +dark-white = "#3e4043" +default = "#c1c9d2" -- cgit v1.2.3-54-g00ecf