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

    Tabs

    v0.2.0界面与主题
    opencode-tabs

    Session tabs for the OpenCode TUI

    GitHub 星标

    5

    近 30 天 +1

    月装机量

    339

    近 7 天 24

    综合评分SCORE

    43.5

    生态多维模型

    最近提交

    14 天前

    2026-08-05

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-tabs@0.2.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.