Installation
Linux
Update system with apt
sudo add-apt-repository ppa:maveonair/helix-editor -y
sudo apt install helix -y
sudo apt upgrade helix -yWindows
WinGet
Install winget
winget install --id Helix.Helix
winget upgrade --id Helix.HelixChocolatey
Install chocolatey
Run powershell as admin
choco install helix -y
choco upgrade helix -yUsage
# Open current directory with Helix
hx .Preferences
Config
Location:
- Linux :
~/.config/helix/config.toml - Windows :
%AppData%\helix\config.toml
theme = "catppuccin_mocha_transparent"
[editor]
true-color = true
line-number = "relative"
cursorline = true
color-modes = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true
[editor.statusline]
left = ["mode", "spinner", "version-control"]
center = ["file-name"]
right = ["diagnostics", "file-type", "file-encoding", "file-line-ending"]
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[keys.normal]
A-x = "extend_to_line_bounds"
X = ["extend_line_up", "extend_to_line_bounds"]
[keys.select]
A-x = "extend_to_line_bounds"
X = ["extend_line_up", "extend_to_line_bounds"]Location:
- Linux :
~/.config/helix/themes/catppuccin_mocha_transparent.toml - Windows :
%AppData%\helix\themes\catppuccin_mocha_transparent.toml
inherits = "catppuccin_mocha"
"ui.background" = { fg = "text" }
"ui.statusline.normal" = { fg = "base", bg = "lavender", modifiers = ["bold"] }
"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] }
"ui.statusline.select" = { fg = "base", bg = "flamingo", modifiers = ["bold"] }Notes
- It is currently unable to theme the seperator based on editor mode.
See GitHub Issue