-
-
Save aychernov/601d5df55e16ef6f118bf653ea6d39f3 to your computer and use it in GitHub Desktop.
Custom Helix editor configuration
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 = "base16_transparent" #"ayu_light" | |
| [editor] | |
| cursorline = true | |
| color-modes = true | |
| auto-pairs = false | |
| true-color = true | |
| mouse = false | |
| scrolloff = 10 | |
| bufferline = "multiple" | |
| end-of-line-diagnostics = "hint" | |
| [editor.inline-diagnostics] | |
| cursor-line = "hint" | |
| [editor.cursor-shape] | |
| insert = "bar" | |
| normal = "block" | |
| select = "underline" | |
| [editor.statusline] | |
| left = ["mode", "spinner"] | |
| center = ["file-name"] | |
| right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"] | |
| separator = "│" | |
| mode.normal = "NORMAL" | |
| mode.insert = "INSERT" | |
| mode.select = "SELECT" | |
| [editor.indent-guides] | |
| render = true | |
| [keys.normal] | |
| "%" = "match_brackets" | |
| "*" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_next"] | |
| "#" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_prev"] | |
| "$" = "goto_line_end" | |
| 0 = "goto_line_start" | |
| G = "goto_file_end" | |
| C-e = [ | |
| ':sh rm -f /tmp/unique-file', | |
| ':insert-output yazi %{buffer_name} --chooser-file=/tmp/unique-file', | |
| ':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty', | |
| ':open %sh{cat /tmp/unique-file}', | |
| ':redraw', | |
| ] | |
| [keys.select] | |
| i = "select_textobject_inner" | |
| a = "select_textobject_around" | |
| [keys.normal.space] | |
| l = ":toggle lsp.display-inlay-hints" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment