summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-12-01 19:16:35 -0500
committerJesse Luehrs <doy@tozt.net>2022-12-01 19:16:35 -0500
commit0eb8998d1cec7e3a0851f16e25dfb406b3a7820b (patch)
tree31c05c9a1718df7a5ed7f33df07cea77a381c2ff /config
parent7fccd997055249660e63ea7c154ad0107280b9fb (diff)
downloadconf-0eb8998d1cec7e3a0851f16e25dfb406b3a7820b.tar.gz
conf-0eb8998d1cec7e3a0851f16e25dfb406b3a7820b.zip
more helix config tweaks
Diffstat (limited to 'config')
-rw-r--r--config/helix/config.toml6
-rw-r--r--config/helix/languages.toml5
-rw-r--r--config/helix/themes/doy.toml12
3 files changed, 11 insertions, 12 deletions
diff --git a/config/helix/config.toml b/config/helix/config.toml
index 0811f37..081cd54 100644
--- a/config/helix/config.toml
+++ b/config/helix/config.toml
@@ -36,23 +36,17 @@ tab = ":w"
"l" = "select_next_sibling"
"|" = "shell_pipe"
-"!" = "shell_insert_output"
"$" = "shell_keep_pipe"
-[keys.normal.g]
-"G" = "goto_last_line"
-
[keys.select]
"$" = "goto_line_end"
")" = "goto_line_start"
"_" = "goto_first_nonwhitespace"
-"G" = "goto_last_line"
[keys.select.";"]
"x" = "toggle_comments"
"|" = "shell_pipe"
-"!" = "shell_insert_output"
"$" = "shell_keep_pipe"
[keys.select."g"]
diff --git a/config/helix/languages.toml b/config/helix/languages.toml
index 2e69b5b..c0cd901 100644
--- a/config/helix/languages.toml
+++ b/config/helix/languages.toml
@@ -1,3 +1,8 @@
[[language]]
name = "rust"
config = { checkOnSave = { command = "clippy" } }
+
+[[language]]
+name = "python"
+language-server = { command = "pyright-langserver", args = ["--stdio"] }
+config = {}
diff --git a/config/helix/themes/doy.toml b/config/helix/themes/doy.toml
index 3596e40..33b30fe 100644
--- a/config/helix/themes/doy.toml
+++ b/config/helix/themes/doy.toml
@@ -1,7 +1,7 @@
"ui.background" = { bg = "black" }
"ui.cursor" = { fg = "green", modifiers = ["reversed"] }
"ui.cursor.insert" = { fg = "white", modifiers = ["reversed"] }
-"ui.cursor.match" = { modifiers = ["underlined"] }
+"ui.cursor.match" = { fg = "light-cyan", bg = "dark-cyan" }
"ui.cursor.primary" = { fg = "light-green", modifiers = ["reversed"] }
"ui.cursor.select" = { fg = "green", modifiers = ["reversed"] }
"ui.menu" = { fg = "white", bg = "dark-black" }
@@ -13,14 +13,14 @@
"ui.statusline.insert" = { fg = "black", bg = "light-cyan" }
"ui.statusline.select" = { fg = "black", bg = "yellow" }
"ui.text" = { fg = "white" }
-"ui.text.info" = { fg = "white", bg = "red" }
+"ui.text.info" = { fg = "white", bg = "dark-black" }
"ui.text.focus" = { fg = "yellow" }
"special" = { fg = "cyan" }
-"diagnostic.error" = { bg = "#330000" }
-"diagnostic.warning" = { bg = "#333300" }
-"diagnostic.hint" = { bg = "#003333" }
-"diagnostic.info" = { bg = "#330033" }
+"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 = "white", bg = "dark-white" }