Skip to content

Instantly share code, notes, and snippets.

@keyle
Last active December 7, 2025 13:06
Show Gist options
  • Select an option

  • Save keyle/9dd6d5385d7c3ba8ea9d01355854d235 to your computer and use it in GitHub Desktop.

Select an option

Save keyle/9dd6d5385d7c3ba8ea9d01355854d235 to your computer and use it in GitHub Desktop.
micro and ghostty settings
{
"Alt-/": "lua:comment.comment",
"Alt-Left": "StartOfLine",
"Alt-Right": "EndOfLine",
"Alt-c": "Copy",
"Alt-d": "DuplicateLine",
"Alt-e": "command:format",
"Alt-f": "Find",
"Alt-g": "command:definition",
"Alt-k": "lua:comment.comment",
"Alt-l": "command-edit:goto ",
"Alt-q": "Quit",
"Alt-r": "command:references",
"Alt-s": "command:save",
"Alt-u": "command:OmniGotoFile",
"Alt-y": "command:OmniGlobalSearch",
"CtrlUp": "SpawnMultiCursorUp",
"CtrlDown": "SpawnMultiCursorDown",
"Alt-w": "Quit",
"Alt-x": "Cut",
"Alt-z": "Undo",
"Alt-{": "command:OmniPreviousHistory",
"Alt-}": "command:OmniNextHistory",
"CtrlSpace": "command:lspcompletion",
"CtrlUnderscore": "lua:comment.comment",
"F3": "command:OmniSpawnCursorNextHighlight",
"F4": "command:rename"
}
# https://ghostty.zerebos.com/app/import-export
# search buffer: cmd + shift + J, then cat file and /searchterm
# fonts
# font-family = Berkeley Mono
font-family = Borg Sans Mono
font-size = 16
# disable ligatures
# font-feature = -calt
adjust-cell-height = 20%
# window
window-height = 45
window-width = 170
window-padding-x = 15
window-padding-y = 5
macos-titlebar-style = tabs
unfocused-split-opacity = 1
window-colorspace = display-p3
confirm-close-surface = false
# keys
keybind = super+\=new_split:right
keybind = super+shift+\=new_split:down
keybind = super+ctrl+\=resize_split:down,10
keybind = f12=toggle_quick_terminal
# https://github.com/ghostty-org/ghostty/pull/5696/commits/58ab66f094b8ab2bd04d7a74cd90f7beb600764a
macos-icon = holographic
background = 0A1820
# super+r
keybind = super+a=text:\x1ba
keybind = super+b=text:\x1bb
# keybind = super+c=text:\x1bc
keybind = super+d=text:\x1bd
keybind = super+e=text:\x1be
keybind = super+f=text:\x1bf
keybind = super+g=text:\x1bg
# keybind = super+h=text:\x1bh
keybind = super+i=text:\x1bi
keybind = super+j=text:\x1bj
# keybind = super+k=text:\x1bk
keybind = super+l=text:\x1bl
keybind = super+m=text:\x1bm
keybind = super+n=text:\x1bn
keybind = super+o=text:\x1bo
keybind = super+p=text:\x1bp
keybind = super+q=text:\x1bq
keybind = super+r=text:\x1br
keybind = super+s=text:\x1bs
# keybind = super+t=text:\x1bt
keybind = super+u=text:\x1bu
# keybind = super+v=text:\x1bv
keybind = super+w=text:\x1bw
keybind = super+x=text:\x1bx
keybind = super+y=text:\x1by
keybind = super+z=text:\x1bz
keybind = super+[=text:\x1b{
keybind = super+]=text:\x1b}
# sends cmd+y but we map it from cmd_shift_r
keybind = super+shift+r=text:\x1bu
keybind = super+shift+g=text:\x1bi
keybind = super+shift+z=text:\x1b'
keybind = super+shift+f=text:\x1by
keybind = super+left=text:\x1b[1;5D
keybind = super+right=text:\x1b[1;5C
{
"colorscheme": "simple2",
"lsp.ignoreTriggerCharacters": "completion,signature",
"lsp.server": "python=pyls,go=gopls,dart=dart language-server",
"pluginrepos": [
"https://raw.githubusercontent.com/Neko-Box-Coder/MicroOmni/master/repo.json"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment