Skip to content

Instantly share code, notes, and snippets.

@mikaelweave
Last active February 24, 2026 19:24
Show Gist options
  • Select an option

  • Save mikaelweave/2248af7df2299438062e98fbc988ffdf to your computer and use it in GitHub Desktop.

Select an option

Save mikaelweave/2248af7df2299438062e98fbc988ffdf to your computer and use it in GitHub Desktop.
Windows Terminal keybinds for SAND workflow
// Windows Terminal: Ghostty-like keybindings (tabs, splits, focus, zoom, quake)
// Paste into your settings.json (merge "actions", "globalSummons", and optional "compatibility")
// Meant to replicate: https://x.com/dani_avila7/status/2023151176758268349
// Make sure to install lazygit: winget install JesseDuffield.lazygit
{
// Optional: lets globalSummon work more reliably (varies by Terminal version)
"compatibility": {
"allowHeadless": true
},
"actions": [
// --- Clipboard / Find ---
{ "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" },
{ "command": "paste", "keys": "ctrl+v" },
{ "command": "find", "keys": "ctrl+shift+f" },
// --- Tabs ---
{ "command": "newTab", "keys": "ctrl+t" },
{ "command": "closeTab", "keys": "ctrl+w" },
{ "command": "prevTab", "keys": "ctrl+shift+left" },
{ "command": "nextTab", "keys": "ctrl+shift+right" },
// --- Splits (duplicate = same profile) ---
{ "command": { "action": "splitPane", "split": "right", "splitMode": "duplicate" }, "keys": "ctrl+d" },
{ "command": { "action": "splitPane", "split": "down", "splitMode": "duplicate" }, "keys": "ctrl+shift+d" },
// keep your old "auto split" binding if you like it
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" },
// --- Focus panes ---
{ "command": { "action": "moveFocus", "direction": "left" }, "keys": "ctrl+alt+left" },
{ "command": { "action": "moveFocus", "direction": "right" }, "keys": "ctrl+alt+right" },
{ "command": { "action": "moveFocus", "direction": "up" }, "keys": "ctrl+alt+up" },
{ "command": { "action": "moveFocus", "direction": "down" }, "keys": "ctrl+alt+down" },
// --- Close / Zoom pane ---
{ "command": "closePane", "keys": "ctrl+alt+d" },
{ "command": "togglePaneZoom", "keys": "ctrl+shift+z" },
// --- Quake / dropdown ---
{ "command": { "action": "globalSummon", "name": "_quake" }, "keys": "ctrl+`" }
],
"globalSummons": [
{
"name": "_quake",
"toggleVisibility": true,
"desktop": "toCurrent",
"monitor": "toCurrent",
"dropdownDuration": 0,
"animationDuration": 0,
"commandline": "pwsh"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment