Skip to content

Instantly share code, notes, and snippets.

@jamesbarnett
Last active April 28, 2025 05:47
Show Gist options
  • Select an option

  • Save jamesbarnett/48e94226b7e03a3bc1cd62d851f5fdfa to your computer and use it in GitHub Desktop.

Select an option

Save jamesbarnett/48e94226b7e03a3bc1cd62d851f5fdfa to your computer and use it in GitHub Desktop.
tmux-like keybinds for ghostty
keybind = ctrl+a>c=new_tab
keybind = ctrl+a>h=goto_split:left
keybind = ctrl+a>l=goto_split:right
keybind = ctrl+a>k=goto_split:up
keybind = ctrl+a>j=goto_split:down
keybind = ctrl+a>n=next_tab
keybind = ctrl+a>p=previous_tab
keybind = ctrl+a>shift+\=new_split:right
keybind = ctrl+a>shift+-=new_split:down
keybind = ctrl+a>shift+h=resize_split:left,200
keybind = ctrl+a>shift+l=resize_split:right,200
keybind = ctrl+a>shift+j=resize_split:down,167
keybind = ctrl+a>shift+k=resize_split:up,167
keybind = ctrl+a>x>shift+l=resize_split:right,400
keybind = ctrl+a>x>shift+h=resize_split:left,400
keybind = ctrl+a>x>shift+j=resize_split:down,333
keybind = ctrl+a>x>shift+k=resize_split:up,333
keybind = ctrl+a>z=toggle_split_zoom
keybind = ctrl+a>1=goto_tab:1
keybind = ctrl+a>2=goto_tab:2
keybind = ctrl+a>3=goto_tab:3
keybind = ctrl+a>4=goto_tab:4
keybind = ctrl+a>5=goto_tab:5
keybind = ctrl+a>6=goto_tab:6
keybind = ctrl+a>7=goto_tab:7
keybind = ctrl+a>8=goto_tab:8
keybind = ctrl+a>9=goto_tab:9
keybind = ctrl+a>0=goto_tab:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment