Created
July 2, 2025 23:33
-
-
Save john-h-k/93d3f955eeb13944191c0efb9abe398e to your computer and use it in GitHub Desktop.
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 = "john_acario_dark" | |
| [editor] | |
| line-number = "relative" | |
| mouse = true | |
| scroll-lines = 1 | |
| cursorline = true | |
| auto-save = false | |
| completion-trigger-len = 1 | |
| true-color = true | |
| color-modes = true | |
| auto-pairs = true | |
| rulers = [80] | |
| bufferline = "multiple" | |
| continue-comments = false | |
| # idle-timeout = 50 | |
| # shell = ["zsh", "-ic"] | |
| [editor.cursor-shape] | |
| insert = "bar" | |
| normal = "block" | |
| select = "underline" | |
| [editor.file-picker] | |
| hidden = false | |
| [editor.indent-guides] | |
| render = true | |
| character = "▏" | |
| [editor.lsp] | |
| display-messages = true | |
| display-inlay-hints = true | |
| [editor.statusline] | |
| left = ["mode", "spinner", "file-name", "file-type", "total-line-numbers", "file-encoding"] | |
| center = [] | |
| right = ["selections", "primary-selection-length", "position", "position-percentage", "spacer", "diagnostics", "workspace-diagnostics", "version-control"] | |
| # At most one section each of 'keys.normal', 'keys.insert' and 'keys.select' | |
| [keys.normal] | |
| "C-s" = ":write" # Maps `super+s` to save the current file | |
| "C-S-s" = ":write-all" | |
| "$" = "goto_line_end" | |
| "^" = "goto_line_start" | |
| g = { o = { label = "Go to altfile", command = "@\"%P|altfile<ret>gf<C-o>uu<C-i>" } } | |
| [keys.normal."C-w"] | |
| S = { label = "Horizontal split to altfile", command = "@\"%P|altfile<ret><C-w>f<C-w>kuu<C-w>j" } | |
| V = { label = "Vertical split to altfile", command = "@\"%P|altfile<ret><C-w>F<C-w>huu<C-w>l" } | |
| [keys.insert] | |
| "C-s" = ":write" # Maps `super+s` to save the current file | |
| "C-S-s" = ":write-all" | |
| "C-j" = "move_line_down" | |
| "C-k" = "move_line_up" | |
| # i swap these two so i can more easily work in subdirectories of a repo (else space-f opens the entire repo directory) | |
| [keys.normal.space] | |
| i = ":toggle lsp.display-inlay-hints" | |
| F = "file_picker" | |
| f = "file_picker_in_current_directory" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment