Last active
November 30, 2023 18:19
-
-
Save xevrem/f40708c50177cc12bddda8ea9b89b644 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
| theme = "catppuccin_mocha" | |
| # theme = "base16_default" | |
| # theme = "base16_terminal" | |
| [editor] | |
| line-number = "relative" | |
| true-color = true | |
| shell = ["fish", "-c"] | |
| mouse = false | |
| auto-info = true | |
| completion-trigger-len = 2 | |
| gutters = [ "diagnostics", "line-numbers", "spacer" ] | |
| color-modes = true | |
| cursorline = true | |
| bufferline = "always" | |
| [editor.lsp] | |
| display-messages = true | |
| auto-signature-help = false | |
| [editor.cursor-shape] | |
| insert = "bar" | |
| normal = "block" | |
| select = "underline" | |
| [editor.file-picker] | |
| hidden = false | |
| [keys.normal] | |
| g = { c = "toggle_comments", C = "goto_window_center" } | |
| G.G = "goto_last_line" | |
| "$" = "goto_line_end" | |
| 0 = "goto_line_start" | |
| s = "delete_selection" | |
| d = "delete_char_forward" | |
| [keys.select] | |
| d = "normal_mode" | |
| G = "goto_last_line" | |
| "$" = "goto_line_end" | |
| 0 = "goto_line_start" | |
| g.c = "toggle_comments" | |
| g.C = "goto_window_center" | |
| [keys.normal.space] | |
| "tab" = "goto_last_accessed_file" | |
| "S-tab" = ":buffer-previous" | |
| ":" = "command_mode" | |
| "space" = "command_palette" | |
| b = { b = "buffer_picker", d = ":buffer-close", o = ":buffer-close-others" } | |
| c = { c = ":config-open", r = ":config-reload" } | |
| f = { s = ":write", f = "file_picker", o = "file_picker_in_current_directory" } | |
| j = { f = "jump_forward", b = "jump_backward", j = "jumplist_picker" } | |
| q = { q = ":quit" } | |
| t = { i = ":set indent-guides.render true", I = ":set indent-guides.render false"} | |
| [keys.normal.space.m] | |
| a = "code_action" | |
| g = { d = "goto_definition", r = "goto_reference", t = "goto_type_definition" } | |
| r = "rename_symbol" | |
| "=" = ":fmt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment