SuperAPI AI 工具集

terminal-optimization

办公与效率

查看项目

更新于 10-16 03:40

技能介绍

用途:为 Claude Code 配置高效的终端环境,整理 Ghostty 配置、状态栏、语音听写、终端标签命名与 tmux worktree 等实践。

主要能力与用法:

Ghostty 配置。在 ~/.config/ghostty/config 中设置字体、字号、内边距与光标样式,例如: font-family = JetBrains Mono font-size = 14 window-padding-x = 10 window-padding-y = 10 cursor-style = bar shell-integration = detect 更多配置见 ghostty-config.md。

状态栏。在 shell 提示符中显示上下文用量与 git 信息,用于跟踪 Claude Code 上下文消耗、查看当前 git 分支/状态和标识会话;starship/oh-my-zsh 配置见 statusline-setup.md。

语音听写。macOS 上连按两次 fn 键切换听写。建议明确说出标点(如 comma、period、new line),并在命令前后稍作停顿;听写在任何文本输入框包括终端中可用。详见 voice-dictation.md。

标签页命名。可按项目或任务命名终端标签,例如: echo -ne "\033]0;my-project\007" 也可使用终端专属快捷键,如 Ghostty 为 Cmd+Shift+I,iTerm2 为 Cmd+I。

tmux 配合 worktree。按 git worktree 使用 tmux 会话,例如: tmux new-session -s feature-branch -c ~/repos/project-feature tmux attach -t feature-branch 每个 worktree 拥有独立的 Claude Code 上下文。

参考文件包括 ghostty-config.md、statusline-setup.md、voice-dictation.md。具体平台支持范围与限制资料未提供。