Skip to content

Instantly share code, notes, and snippets.

@storopoli
Last active December 24, 2025 08:31
Show Gist options
  • Select an option

  • Save storopoli/1622da92d79470e14096b3dcd343e2d5 to your computer and use it in GitHub Desktop.

Select an option

Save storopoli/1622da92d79470e14096b3dcd343e2d5 to your computer and use it in GitHub Desktop.
GhosTTY Config
font-feature = -calt
font-feature = -liga
font-feature = -dlig
window-width = 3000
window-height = 2100
background-opacity = 0.9
background-blur-radius = 20
quit-after-last-window-closed = true
macos-option-as-alt = left
keybind = super+grave_accent=toggle_quick_terminal
# Vim Keybinds
keybind = super+alt+h=goto_split:left
keybind = super+alt+l=goto_split:right
keybind = super+alt+j=goto_split:bottom
keybind = super+alt+k=goto_split:top
keybind = super+ctrl+h=resize_split:left,10
keybind = super+ctrl+l=resize_split:right,10
keybind = super+ctrl+j=resize_split:down,10
keybind = super+ctrl+k=resize_split:up,10
# Vim-mode keybindings for Ghostty.
#
# Note: We're missing a number of actions to produce a better vim experience.
# This is what is possible today! But we plan on adding more actions to make
# this even better in the future.
# Entry point
keybind = alt+v=activate_key_table:vim
# Key table definition
keybind = vim/
# Line movement
keybind = vim/j=scroll_page_lines:1
keybind = vim/k=scroll_page_lines:-1
# Page movement
keybind = vim/ctrl+d=scroll_page_down
keybind = vim/ctrl+u=scroll_page_up
keybind = vim/ctrl+f=scroll_page_down
keybind = vim/ctrl+b=scroll_page_up
keybind = vim/shift+j=scroll_page_down
keybind = vim/shift+k=scroll_page_up
# Jump to top/bottom
keybind = vim/g>g=scroll_to_top
keybind = vim/shift+g=scroll_to_bottom
# Search (if you want vim-style search entry)
keybind = vim/slash=start_search
keybind = vim/n=navigate_search:next
# Copy mode / selection
# Note we're missing a lot of actions here to make this more full featured.
keybind = vim/v=copy_to_clipboard
keybind = vim/y=copy_to_clipboard
# Command Palette
keybind = vim/shift+semicolon=toggle_command_palette
# Exit
keybind = vim/escape=deactivate_key_table
keybind = vim/q=deactivate_key_table
keybind = vim/i=deactivate_key_table
# Catch unbound keys
keybind = vim/catch_all=ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment