Last active
March 10, 2025 10:43
-
-
Save storopoli/e63b10dafdcc764f2bfe84f75c61e20a to your computer and use it in GitHub Desktop.
Helix Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Yazi + Helix Support: https://github.com/sxyazi/yazi/pull/2461 | |
theme = "gruvbox_dark_hard_transparent" | |
[editor] | |
line-number = "relative" | |
mouse = true | |
scrolloff = 8 | |
cursorline = true | |
rulers = [ 80 ] | |
true-color = true | |
color-modes = true | |
completion-trigger-len = 1 | |
idle-timeout = 50 | |
bufferline = "multiple" | |
[editor.cursor-shape] | |
insert = "bar" | |
normal = "block" | |
select = "underline" | |
[editor.file-picker] | |
hidden = false | |
[editor.statusline] | |
left = [ "mode", "spinner", "version-control" ] | |
center = [ "file-name" ] | |
right = [ "workspace-diagnostics", "selections", "position-percentage", "position", "file-encoding", "file-type" ] | |
[editor.indent-guides] | |
render = true | |
character = "╎" | |
[editor.whitespace] | |
render = "all" | |
[editor.whitespace.characters] | |
space = "·" | |
nbsp = "⍽" | |
nnbsp = "␣" | |
tab = "→" | |
newline = "⏎" | |
tabpad = "·" # Tabs will look like "→···" (depending on tab width) | |
[editor.lsp] | |
display-messages = true | |
display-progress-messages = true | |
display-inlay-hints = true | |
[keys.normal] | |
C-g = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"] # Taken from: https://gist.github.com/lavafroth/c5b01984fcd58f26911bd42e43d29289 | |
esc = [ "collapse_selection", "keep_primary_selection" ] | |
A-j = [ "ensure_selections_forward", "extend_to_line_bounds", "extend_char_right", "extend_char_left", "delete_selection", "add_newline_below", "move_line_down", "replace_with_yanked" ] | |
A-k = [ "ensure_selections_forward", "extend_to_line_bounds", "extend_char_right", "extend_char_left", "delete_selection", "move_line_up", "add_newline_above", "move_line_up", "replace_with_yanked" ] | |
A-x = "extend_to_line_bounds" | |
X = [ "extend_line_up", "extend_to_line_bounds" ] | |
[keys.normal.space] | |
w = ":write" | |
q = ":quit" | |
Q = ":quit-all!" | |
space = "buffer_picker" | |
[keys.select] | |
A-x = "extend_to_line_bounds" | |
X = [ "extend_line_up", "extend_to_line_bounds" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/helix/themes/gruvbox_dark_hard_transparent.toml | |
inherits = "gruvbox_dark_hard" | |
"ui.background" = {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to make Helix work with
pyright-lsp
: microsoft/pyright#9797 (comment)