add helix config
This commit is contained in:
8
.config/helix/config.toml
Normal file
8
.config/helix/config.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
theme = "myonedark"
|
||||
|
||||
[editor]
|
||||
# line-number = "relative"
|
||||
# auto-completion = false
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
9
.config/helix/languages.toml
Normal file
9
.config/helix/languages.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
use-grammars = { only = [ "awk", "bash", "bibtex", "c", "cmake", "cpp", "css", "diff", "dockerfile", "dot", "fish", "gdscript", "git-attributes", "git-commit", "git-config", "git-ignore", "git-rebase", "glsl", "go", "godot-resource", "gomod", "gotmpl", "gowork", "html", "java", "javascript", "jinja", "json", "kotlin", "latex", "lua", "make", "markdown", "passwd", "perl", "php", "python", "rust", "scss", "sql", "toml", "typescript", "vue", "wren", "xml", "yaml" ] }
|
||||
|
||||
[[language]]
|
||||
name = "go"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
||||
[[language]]
|
||||
name = "java"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
89
.config/helix/themes/myonedark.toml
Normal file
89
.config/helix/themes/myonedark.toml
Normal file
@@ -0,0 +1,89 @@
|
||||
# Author : Gokul Soumya <gokulps15@gmail.com>
|
||||
|
||||
"attribute" = { fg = "yellow" }
|
||||
"comment" = { fg = "light-gray", modifiers = ["italic"] }
|
||||
"constant" = { fg = "cyan" }
|
||||
"constant.numeric" = { fg = "gold" }
|
||||
"constant.builtin" = { fg = "gold" }
|
||||
"constant.character.escape" = { fg = "gold" }
|
||||
"constructor" = { fg = "blue" }
|
||||
"function" = { fg = "blue" }
|
||||
"function.builtin" = { fg = "blue" }
|
||||
"function.macro" = { fg = "purple" }
|
||||
"keyword" = { fg = "red" }
|
||||
"keyword.control" = { fg = "purple" }
|
||||
"keyword.control.import" = { fg = "red" }
|
||||
"keyword.directive" = { fg = "purple" }
|
||||
"label" = { fg = "purple" }
|
||||
"namespace" = { fg = "blue" }
|
||||
"operator" = { fg = "purple" }
|
||||
"keyword.operator" = { fg = "purple" }
|
||||
"property" = { fg = "red" }
|
||||
"special" = { fg = "blue" }
|
||||
"string" = { fg = "green" }
|
||||
"type" = { fg = "yellow" }
|
||||
# "variable" = { fg = "blue" }
|
||||
"variable.builtin" = { fg = "blue" }
|
||||
"variable.parameter" = { fg = "red" }
|
||||
"variable.other.member" = { fg = "red" }
|
||||
|
||||
"markup.heading" = { fg = "red" }
|
||||
"markup.raw.inline" = { fg = "green" }
|
||||
"markup.bold" = { fg = "gold", modifiers = ["bold"] }
|
||||
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
|
||||
"markup.list" = { fg = "red" }
|
||||
"markup.quote" = { fg = "yellow" }
|
||||
"markup.link.url" = { fg = "cyan", modifiers = ["underlined"]}
|
||||
"markup.link.text" = { fg = "purple" }
|
||||
|
||||
"diff.plus" = "green"
|
||||
"diff.delta" = "gold"
|
||||
"diff.minus" = "red"
|
||||
|
||||
diagnostic = { modifiers = ["underlined"] }
|
||||
"info" = { fg = "blue", modifiers = ["bold"] }
|
||||
"hint" = { fg = "green", modifiers = ["bold"] }
|
||||
"warning" = { fg = "yellow", modifiers = ["bold"] }
|
||||
"error" = { fg = "red", modifiers = ["bold"] }
|
||||
|
||||
# "ui.background" = { bg = "black" }
|
||||
|
||||
# "ui.cursor" = { fg = "white", modifiers = ["reversed"] }
|
||||
# "ui.cursor.primary" = { fg = "white", modifiers = ["reversed"] }
|
||||
# "ui.cursor.match" = { fg = "blue", modifiers = ["underlined"]}
|
||||
"ui.cursor" = { modifiers = ["reversed"] }
|
||||
"ui.cursor.primary" = { modifiers = ["reversed"] }
|
||||
"ui.cursor.match" = { modifiers = ["underlined"]}
|
||||
|
||||
"ui.selection" = { bg = "light-gray" }
|
||||
"ui.selection.primary" = { bg = "gray" }
|
||||
|
||||
"ui.linenr" = { fg = "linenr", modifiers = ["dim"] }
|
||||
"ui.linenr.selected" = { fg = "white" }
|
||||
|
||||
"ui.statusline" = { fg = "white", bg = "light-black" }
|
||||
"ui.statusline.inactive" = { fg = "light-gray", bg = "light-black" }
|
||||
|
||||
"ui.text" = { fg = "white" }
|
||||
"ui.text.focus" = { fg = "white", bg = "light-black", modifiers = ["bold"] }
|
||||
|
||||
"ui.help" = { bg = "gray" }
|
||||
"ui.popup" = { bg = "gray" }
|
||||
"ui.window" = { bg = "gray" }
|
||||
"ui.menu.selected" = { fg = "black", bg = "blue" }
|
||||
|
||||
[palette]
|
||||
|
||||
yellow = "#fbcd68"
|
||||
blue = "#7a91fb"
|
||||
red = "#fc636c"
|
||||
purple = "#d968c2"
|
||||
green = "#63e176"
|
||||
gold = "#fbcd68"
|
||||
cyan = "#5dc5ee"
|
||||
white = "#e3e3e3"
|
||||
black = "#1d212a"
|
||||
light-black = "#333740"
|
||||
gray = "#333740"
|
||||
light-gray = "#5C6370"
|
||||
linenr = "#333740"
|
||||
Reference in New Issue
Block a user