跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    Minhir

    Tabs

    opencode-tabs·v0.3.0·界面与主题

    Session tabs for the OpenCode TUI

    GitHub 星标

    9

    近 30 天 +2

    月装机量

    116

    近 7 天 27

    综合评分

    42.2

    生态多维模型

    最近提交

    1 个月前

    2026-08-26

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-tabs@0.3.0"]
    }

    OpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    NPM Version GitHub License

    Session tabs for the OpenCode TUI.

    • Quick navigation - Switch between sessions with a single click.
    • Session status - See which sessions are busy or need attention.
    OpenCode tabs demo

    Install

    For the current project:

    opencode plugin opencode-tabs
    

    Or globally:

    opencode plugin opencode-tabs --global
    

    Or, add the package directly to .opencode/tui.json:

    {
      "$schema": "https://opencode.ai/tui.json",
      "plugin": ["opencode-tabs"]
    }
    

    Restart OpenCode after the installation.

    Keyboard navigation

    The Next tab, Previous tab, and Close tab commands are available in the command palette. They have no keybindings by default. To open a new tab, use OpenCode's built-in New session command. Check the OpenCode keybinds documentation.

    To enable keyboard navigation, configure the plugin with options:

    {
      "$schema": "https://opencode.ai/tui.json",
      "plugin": [
        [
          "opencode-tabs",
          {
            "keybinds": {
              "next": "<leader>]",
              "previous": "<leader>[",
              "close": "<leader>w"
            }
          }
        ]
      ]
    }
    

    Restart OpenCode after changing the configuration.

    同类生态推荐