Created
October 15, 2023 16:33
-
-
Save AlexMikhalev/30d7b62729d55d10d74a235e4467789b to your computer and use it in GitHub Desktop.
Helix Editor
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
# Editor Config | |
theme = "catppuccin_macchiato" | |
[editor] | |
scrolloff = 6 | |
mouse = true | |
middle-click-paste = true | |
scroll-lines = 3 | |
shell = [ "zsh","-c" ] | |
line-number = "absolute" | |
cursorline = true | |
cursorcolumn = false | |
gutters = [ "diff", "line-numbers", "spacer", ] | |
auto-completion = true | |
auto-format = true | |
auto-save = false | |
idle-timeout = 0 | |
completion-trigger-len = 2 | |
auto-info = true | |
true-color = true | |
rulers = [] | |
bufferline = "always" | |
color-modes = true | |
auto-pairs = true | |
[editor.statusline] | |
left = [ "mode", "file-name", "separator", "spacer", "diagnostics", ] | |
center = [] | |
right = [ | |
"position", "separator", "spacer", "position-percentage", "spacer", "separator", | |
"total-line-numbers", "separator", "file-line-ending", "separator", "file-type", ] | |
separator = "\uE0B3" | |
mode.normal = "NORMAL" | |
mode.select = "SELECT" | |
mode.insert = "INSERT" | |
[editor.lsp] | |
display-messages = false | |
auto-signature-help = true | |
display-signature-help-docs = true | |
[editor.file-picker] | |
hidden = false | |
git-ignore = false | |
[editor.cursor-shape] | |
insert = "bar" | |
normal = "block" | |
select = "underline" | |
[editor.whitespace] | |
render = "all" | |
# Key Remapping | |
[keys.normal] | |
"esc" = [ "insert_mode",] | |
"C-e" = [ "goto_line_end", ] | |
"C-a" = [ "goto_line_start", ] | |
"C-k"."x"= [":wq",] | |
"C-k"."v" = ["paste_clipboard_after",] | |
[keys.insert] | |
"esc" = [ "normal_mode",] | |
"C-e" = [ "goto_line_end", ] | |
"C-a" = [ "goto_line_start", ] | |
"tab" = [ "completion", ] | |
"C-k"."b" = [ "select_mode", "goto_line_end", ] | |
"C-k"."v" = ["paste_clipboard_after",] | |
[keys.select] | |
"C-k"."k" = ["ensure_selections_forward","yank_main_selection_to_clipboard","normal_mode", ] | |
"esc" = [ "normal_mode",] | |
"C-e" = [ "goto_line_end", ] | |
"C-a" = [ "goto_line_start", ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment