repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

ghostty/TODO.md

Raw

Ghostty Migration TODO

Features from wezterm config not yet ported. Check off as ghostty adds support.

Blocked: Needs Ghostty Scripting API (#2353)

Blocked: Needs Ghostty Config API

Blocked: Ghostty Philosophy

Not Ported: Low Priority

New Capabilities (not in wezterm)

Markdown source
File outline
# Ghostty Migration TODO

Features from wezterm config not yet ported. Check off as ghostty adds support.

## Blocked: Needs Ghostty Scripting API (#2353)

- [ ] **AI shell integration** — requires scrollback access from external script.
  Wezterm: `pane:get_lines_as_text()` → curl to z.ai API → `pane:send_text()`.
  Ghostty has no equivalent on Linux. macOS has AppleScript (preview).

- [ ] **Zoxide workspace switcher** — requires PromptInputLine equivalent + mux API.
  Wezterm: `PromptInputLine` → fuzzy picker combining zoxide + workspaces → `SwitchToWorkspace`.
  Workaround: use a nushell keybinding that calls zoxide directly via fzf/builtin picker.

- [ ] **Dynamic status bar** — requires per-window state + formatting API.
  Wezterm: `update-status` event → time, battery, AI status, leader indicator, workspace name.
  Ghostty: title only. No custom formatted status bar.

- [ ] **Rotating panes** — no `rotate_panes` equivalent.
  Wezterm: `RotatePanes 'CounterClockwise'` / `RotatePanes 'Clockwise'`.
  Ghostty has `equalize_splits` but no rotation.

## Blocked: Needs Ghostty Config API

- [ ] **Presentation mode** — requires saving/restoring per-surface font size.
  Wezterm: toggles fullscreen + doubles font + sets DemiBold weight, then restores.
  Ghostty has `chain=` + `set_font_size` + `toggle_fullscreen` but no state restore.
  Possible workaround: write a script that swaps config files and reloads.

- [ ] **Per-host config** — currently using `config-file = ?host-desktop`.
  Wezterm: `wez.hostname()` → dynamic require.
  Ghostty: static `config-file` directive. Needs manual per-host file or symlinks.

## Blocked: Ghostty Philosophy

- [ ] **Process icons in tab titles** — ghostty doesn't map process→nerdfont icons.
  Wezterm: `icons.lua` maps 100+ process names to nerdfont glyphs.
  Ghostty sets tab title from terminal title only.

- [ ] **Mouse 4-click semantic zone selection** — no ghostty equivalent.
  Wezterm: `SelectTextAtMouseCursor 'SemanticZone'` on 4 clicks.

## Not Ported: Low Priority

- [ ] **Battery display in status** — ghostty has no battery API. Use external widget.
- [ ] **Quick select** — ghostty has `quick_select` action but no customization of alphabets/matches yet.
- [ ] **Char select** — ghostty has no `CharSelect` equivalent. Use `toggle_command_palette` instead.
- [ ] **Debug overlay** — ghostty has `inspector:toggle` (close equivalent).
- [ ] **Workspace "dotfiles" auto-open** — wezterm `gui-startup` spawns dotfiles workspace on launch.
  Ghostty has `window-save-state = always` which partially replaces this.

## New Capabilities (not in wezterm)

- [x] `global:` quick terminal — system-wide terminal toggle
- [x] Custom GLSL shaders — visual effects (bloom, cursor smear, etc.)
- [x] `performable:` keybinds — context-aware bindings that don't shadow nvim
- [x] `chain=` actions — multiple actions per keypress
- [x] Key table stacking — nested modal modes
- [x] Click-to-move cursor in nushell prompts (native, no config needed)