{"id":50988113,"url":"https://github.com/yazilim-vip/terminal-setup","last_synced_at":"2026-06-19T22:02:40.717Z","repository":{"id":363796028,"uuid":"1264396347","full_name":"yazilim-vip/terminal-setup","owner":"yazilim-vip","description":"Minimal macOS terminal setup — Ghostty + tmux (Catppuccin Mocha), symlink-based with a one-line installer","archived":false,"fork":false,"pushed_at":"2026-06-10T11:12:25.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T12:17:16.968Z","etag":null,"topics":["catppuccin","dotfiles","ghostty","macos","terminal","tmux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yazilim-vip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-09T21:05:47.000Z","updated_at":"2026-06-10T11:12:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yazilim-vip/terminal-setup","commit_stats":null,"previous_names":["yazilim-vip/terminal-setup"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/yazilim-vip/terminal-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazilim-vip%2Fterminal-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazilim-vip%2Fterminal-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazilim-vip%2Fterminal-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazilim-vip%2Fterminal-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yazilim-vip","download_url":"https://codeload.github.com/yazilim-vip/terminal-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazilim-vip%2Fterminal-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34549341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["catppuccin","dotfiles","ghostty","macos","terminal","tmux"],"created_at":"2026-06-19T22:02:39.806Z","updated_at":"2026-06-19T22:02:40.712Z","avatar_url":"https://github.com/yazilim-vip.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terminal-setup\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\nMinimal macOS terminal setup: [Ghostty](https://ghostty.org) + [tmux](https://github.com/tmux/tmux), Catppuccin Mocha theme. Symlink-based, so you update it with a plain `git pull`.\n\n## Features\n\n- Prefix remapped to `Ctrl+Space`\n- Vim-style pane navigation (no prefix needed)\n- Option-key shortcuts for window/session management\n- **Catppuccin Mocha** theme — Ghostty *and* the tmux status bar\n- **Session persistence** (resurrect + continuum) and an **fzf session picker** (sessionx)\n- Truecolor, mouse support, clickable URLs\n\n## Requirements\n\n- macOS (the Ghostty config uses `macos-option-as-alt`)\n- [Ghostty](https://ghostty.org) and `tmux` installed (e.g. `brew install --cask ghostty` + `brew install tmux`)\n- [`fzf`](https://github.com/junegunn/fzf) — for the sessionx session picker (`brew install fzf`)\n- tmux plugins install on first launch via `prefix I` (TPM is set up automatically by the installer)\n\n## Installation\n\nOne command — clones into `~/.local/share/terminal-setup`, symlinks the configs, and adds a `terminal-setup` command to your shell:\n\n```bash\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/yazilim-vip/terminal-setup/main/install.sh)\"\n```\n\n\u003cdetails\u003e\n\u003csummary\u003ePrefer to clone manually?\u003c/summary\u003e\n\n```bash\ngit clone https://github.com/yazilim-vip/terminal-setup.git ~/.local/share/terminal-setup\n~/.local/share/terminal-setup/install.sh\n```\n\n\u003c/details\u003e\n\nWhat the installer does:\n\n- Clones the repo to `~/.local/share/terminal-setup` (XDG `$XDG_DATA_HOME`; override with `TERMINAL_SETUP_DIR=/path`).\n- Symlinks the configs (it does not copy them):\n  ```\n  ghostty/config    → ~/.config/ghostty/config\n  tmux/.tmux.conf   → ~/.tmux.conf\n  ```\n- Adds a `terminal-setup` shell command — plus a `k9s` alias that pins k9s to the `xterm-ghostty` terminfo so its menu hints don't gray out under tmux — to `~/.zshrc` (and `~/.bashrc` if present), in a clearly marked block.\n\nAfterward, reload Ghostty (`Cmd+Shift+,`) and tmux (`prefix R`), and restart your shell (or `source ~/.zshrc`) to pick up the `terminal-setup` command.\n\n## Updating\n\n```bash\nterminal-setup update\n```\n\nPulls the latest; because the configs are symlinked, your live setup updates in place — no re-install. Reload tmux with `prefix R` afterward.\n\n\u003e Changes to the **shell block** (the `terminal-setup` command and the `k9s` alias) are written into your rc file, not symlinked — re-run the installer to refresh them on an existing install.\n\n\u003e Don't have the command yet? `cd ~/.local/share/terminal-setup \u0026\u0026 git pull` does the same thing, or just re-run the install one-liner.\n\n## Plugins\n\nManaged by [TPM](https://github.com/tmux-plugins/tpm) (declared in `tmux/.tmux.conf`). Install/update with `prefix I` / `prefix U`.\n\n| Plugin | Purpose |\n|--------|---------|\n| tpm | Plugin manager |\n| tmux-sensible | Sensible defaults |\n| tmux-resurrect | Save/restore sessions (`prefix C-s` / `prefix C-r`) |\n| tmux-continuum | Auto-save + auto-restore sessions |\n| tmux-yank | Clipboard integration |\n| catppuccin/tmux | Catppuccin Mocha status bar |\n| tmux-sessionx | fzf session picker (`prefix o`) — needs `fzf` |\n| vim-tmux-navigator | Seamless vim/tmux pane navigation |\n\n## Keybindings\n\n### Ghostty\n\n| Key | Action |\n|-----|--------|\n| `Cmd+Shift+,` | Reload config |\n| `Cmd+click` | Open URL |\n\n### tmux — Panes, no prefix (Option)\n\n| Key | Action |\n|-----|--------|\n| `Option+h` / `Option+j` | Focus pane left |\n| `Option+k` | Focus pane down |\n| `Option+i` | Focus pane up |\n| `Option+l` | Focus pane right |\n| `Option+d` | Split right |\n| `Option+e` / `Option+D` | Split down |\n| `Option+Enter` | Toggle zoom |\n| `Option+x` | Kill pane (confirm) |\n| `Option+m` | Move pane to window |\n\n### tmux — Pane Management (prefix: `Ctrl+Space`)\n\n| Key | Action |\n|-----|--------|\n| `v` | Split vertical |\n| `s` | Split horizontal |\n| `z` | Toggle zoom |\n| `x` | Kill pane |\n| `j/k/i/l` | Swap pane in direction |\n| `Ctrl+j/l` | Join pane vertical (left/right) |\n| `Ctrl+i/k` | Join pane horizontal (up/down) |\n| `m` | Move pane to window |\n| `M` | Merge window here |\n\n### tmux — Windows\n\n| Key | Action |\n|-----|--------|\n| `prefix c` | New window |\n| `Option+0` / `Option+t` | New window (no prefix) |\n| `prefix 1-5` / `Option+1-9` | Switch to window (`Option+9` = last) |\n| `Option+[` / `Option+]` | Previous / next window (no prefix) |\n| `prefix p` | Previous window |\n| `prefix \u003c` / `\u003e` | Swap window left / right |\n| `Option+,` / `Option+.` | Swap window left / right (no prefix) |\n| `Option+r` | Rename window (no prefix) |\n\n### tmux — Sessions\n\n| Key | Action |\n|-----|--------|\n| `prefix n` | New session |\n| `prefix o` / `Option+o` | Session picker — sessionx (fzf) |\n| `Option+n` / `Option+R` | Rename session (no prefix) |\n| `prefix C-s` | Save sessions (resurrect) |\n| `prefix C-r` | Restore sessions (resurrect) |\n\n### tmux — Other\n\n| Key | Action |\n|-----|--------|\n| `Option+c` / `Option+K` | Clear screen + scrollback |\n| `prefix R` | Reload tmux config |\n| `prefix /` | Search (copy mode) |\n| `prefix I` | Install plugins (TPM) |\n| `prefix U` | Update plugins (TPM) |\n| `Ctrl+h/j/k/l` | Navigate vim/tmux panes (vim-tmux-navigator) |\n\n## Structure\n\n```\nghostty/config    → ~/.config/ghostty/config\ntmux/.tmux.conf   → ~/.tmux.conf\ninstall.sh        → clones/links, bootstraps TPM, installs the `terminal-setup` command\n```\n\n## License\n\n[MIT](LICENSE) © Yazilim VIP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazilim-vip%2Fterminal-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyazilim-vip%2Fterminal-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazilim-vip%2Fterminal-setup/lists"}