From 0eb8998d1cec7e3a0851f16e25dfb406b3a7820b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Dec 2022 19:16:35 -0500 Subject: more helix config tweaks --- config/helix/config.toml | 6 ------ config/helix/languages.toml | 5 +++++ config/helix/themes/doy.toml | 12 ++++++------ 3 files changed, 11 insertions(+), 12 deletions(-) (limited to 'config') 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" } -- cgit v1.2.3-54-g00ecf