Add helix config

This commit is contained in:
Agatha Lovelace 2023-01-25 19:16:52 +01:00
parent 54cfc96aab
commit 4160bd4027
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
2 changed files with 100 additions and 0 deletions

33
.config/helix/config.toml Normal file
View File

@ -0,0 +1,33 @@
theme = "paramount"
[editor]
middle-click-paste = false
scroll-lines = 4
shell = ["fish", "-c"]
bufferline = "multiple"
[editor.statusline]
left = ["mode", "spinner", "file-name"]
right = ["workspace-diagnostics", "position", "position-percentage", "spacer", "file-encoding", "file-line-ending", "file-type"]
separator = " "
[editor.cursor-shape]
insert = "bar"
[editor.whitespace.render]
tab = "all"
space = "all"
newline = "none"
[editor.indent-guides]
render = true
character = "┊"
skip-levels = 1
[keys.insert]
"C-left" = ["move_prev_word_start", "collapse_selection"]
"C-right" = ["move_next_word_start", "collapse_selection"]
[keys.normal]
"C-left" = ["move_prev_word_start", "collapse_selection"]
"C-right" = ["move_next_word_start", "collapse_selection"]

View File

@ -0,0 +1,67 @@
# Port of https://github.com/owickstrom/vim-colors-paramount for Helix
# Dark theme only (with some tweaks)
inherits = "hex_lavender"
"ui.background" = { bg = "black" }
"ui.gutter" = { bg = "black" }
"ui.menu.selected" = { fg = "lighter_gray", bg = "light_purple" }
"comment" = { fg = "lighter_black", modifiers = ["italic"] }
"constant" = "light_purple"
"string" = "light_purple"
"variable" = "lighter_gray"
"function" = "lighter_gray"
"keyword.function" = "lighter_gray"
"keyword.control" = "medium_gray"
"keyword.control.import" = "medium_gray"
"operator" = { fg = "lighter_gray", modifiers = ["bold"] }
"function.special" = "medium_gray"
"type" = "lighter_gray"
"tag" = { fg = "medium_gray", modifiers = ["italic"] }
"punctuation" = { fg = "medium_gray" }
"ui.linenr" = "medium_gray"
"ui.linenr.selected" = { fg = "light_purple" }
"string.special.url" = { fg = "lighter_gray", underline = { color = "lighter_gray", style = "line" }, modifiers = ["underlined"] }
"markup.link" = { fg = "lighter_gray", underline = { color = "lighter_gray", style = "line" }, modifiers = ["underlined"] }
"diagnostic.error" = { fg = "actual_white", bg = "light_red", modifiers = ["bold"] }
"error" = "light_red"
"ui.selection" = { fg = "lighter_gray", bg = "light_purple" }
"ui.selection.primary" = { fg = "lighter_gray", bg = "light_purple" }
"warning" = "light_yellow"
"diagnostic.warning" = "light_yellow"
"diff.plus" = "light_green"
"diff.minus" = "light_red"
"diff.delta" = "dark_yellow"
"ui.cursor" = { bg = "lighter_gray" }
"ui.cursor.insert" = { bg = "light_purple" }
"ui.cursor.select" = { bg = "dark_purple" }
"ui.cursor.match" = { fg = "lighter_gray", bg = "medium_gray" }
"namespace" = "medium_gray"
[palette]
medium_gray = "#767676"
white = "#F1F1F1"
actual_white = "#FFFFFF"
subtle_black = "#303030"
light_black = "#262626"
lighter_black = "#4E4E4E"
light_gray = "#A8A8A8"
lighter_gray = "#C6C6C6"
lightest_gray = "#EEEEEE"
pink = "#fb007a"
dark_red = "#C30771"
light_red = "#E32791"
orange = "#D75F5F"
darker_blue = "#005F87"
dark_blue = "#008EC4"
blue = "#20BBFC"
light_blue = "#b6d6fd"
dark_cyan = "#20A5BA"
light_cyan = "#4FB8CC"
dark_green = "#10A778"
light_green = "#5FD7A7"
dark_purple = "#af5fd7"
light_purple = "#a790d5"
yellow = "#F3E430"
light_yellow = "#ffff87"
dark_yellow = "#A89C14"