summaryrefslogtreecommitdiffstats
path: root/helix
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-10-08 12:09:20 -0400
committerJesse Luehrs <doy@tozt.net>2023-10-08 12:59:10 -0400
commit49570c8dd03448240897b37b68567352b790f16f (patch)
tree6c192a52046d5d0dd1b84a838befd8e777cfeafb /helix
parent66939c71da756c1d9e07a88a4a8ea2a018650060 (diff)
downloadconf-49570c8dd03448240897b37b68567352b790f16f.tar.gz
conf-49570c8dd03448240897b37b68567352b790f16f.zip
convert to stow
Diffstat (limited to 'helix')
-rw-r--r--helix/.config/helix/config.toml34
-rw-r--r--helix/.config/helix/languages.toml10
-rw-r--r--helix/.config/helix/themes/doy.toml72
3 files changed, 116 insertions, 0 deletions
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"