Created
April 26, 2024 16:55
-
-
Save prnk28/7755da7ef2ae229fb80616dff92a2d06 to your computer and use it in GitHub Desktop.
Helix Configuration
This file contains 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
theme = "kanagawa" | |
[editor] | |
true-color = true | |
bufferline = "multiple" | |
[editor.cursor-shape] | |
insert = "bar" | |
normal = "block" | |
select = "underline" | |
[editor.file-picker] | |
hidden = false | |
[editor.lsp] | |
display-messages = true | |
display-inlay-hints = true | |
[keys.normal] | |
C-f = [":new", ":insert-output lf -print-selection", "split_selection_on_newline", "goto_file", "goto_last_modification", "goto_last_modified_file", ":buffer-close!", ":redraw"] | |
C-s = ":w" # Maps Ctrl-s to the typable command :w which is an alias for :write (save file) | |
C-o = ":open ~/.config/helix/config.toml" # Maps Ctrl-o to opening of the helix config file | |
"C-S-esc" = "extend_line" # Maps Ctrl-Shift-Escape to extend_line | |
"ret" = [ | |
"open_below", | |
"normal_mode", | |
] # Maps the enter key to open_below then re-enter normal mode | |
"pageup" = ["code_action"] | |
[keys.normal.g] | |
a = "code_action" # Maps `ga` to show possible code actions | |
# create a new minor mode bound to `+` | |
[keys.normal."+"] | |
s = ":run-shell-command task dev" | |
d = ":run-shell-command task compose-down" | |
u = ":run-shell-command task compose-up" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment