GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(zh-cn): 补上 keybinds 页面缺失的「绑定值」小节 by Kissshot-2003 · Pull Request #58030 · anomalyco/opencode

Conversation

@Kissshot-2003

@Kissshot-2003 Kissshot-2003 commented Oct 22, 2026 •
edited by opencode-agent Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Issue for this PR

Refs #57623

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The Chinese keybinds page is missing a section the English page has.

The English keybinds.mdx documents ## Binding Values: a binding value may be one shortcut, several comma-separated shortcuts, an array, or an object with key, event, preventDefault or fallthrough. The zh-cn copy never got that section, so a Chinese reader has no way to learn from the docs how to configure more than one shortcut for a binding.

This PR adds the missing section to packages/web/src/content/docs/zh-cn/keybinds.mdx, in the same position it occupies in the English page (between ## 前导键 and ## 禁用快捷键).

The terminology follows the page's existing choices and the zh-cn glossary: keybind / shortcut are 快捷键, and since ## Disable Keybind is already 禁用快捷键 here, ## Binding Values is 绑定值. The code block, the config keys and the schema URL are identical to the English page.

The reason the section is missing is the frozen locale sync described in #57623: docs-locale-sync.yml has its job disabled with if: false, so the Chinese copy stopped following the English one. I did not touch the workflow, because whether the sync should point at the v1 tree or the v2 tree is a question about which one is canonical, and #57623 already asks it. This PR just fills the specific gap.

How did you verify your code works?

  • Confirmed the section is absent from the Chinese copy and present in the English one, by comparing the heading lists of packages/web/src/content/docs/keybinds.mdx and packages/web/src/content/docs/zh-cn/keybinds.mdx, skipping lines inside fenced code blocks.
  • Checked the section against the English source it translates, and against the neighbouring Chinese sections for tone and for the terms already used on the page.
  • Built the v1 documentation site with bun run build from packages/web, which is the tree this page belongs to. The build also regenerates the config schema, so it covers the generated-output check as well.

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Added by the opencode bot (AI-generated).

Related: #57623

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Kissshot-2003
docs(zh-cn): 补上 keybinds 页面缺失的「绑定值」小节
d865686
英文版有 ## Binding Values 一节,说明一个字符串可以写一个或多个逗号分隔的快捷键、
也可以写成数组,更复杂的情况可以用带 key / event / preventDefault / allthrough
的对象。中文版一直没有这一节,中文用户按文档配置多快捷键时没有对应说明。

译名沿用本页既有约定:keybind / shortcut 译作「快捷键」,## Disable Keybind
已译作「## 禁用快捷键」,所以 ## Binding Values 译作「## 绑定值」。

代码块、配置键名和 schema 地址与英文版保持一致。
opencode-agent[bot]
opencode-agent Bot reviewed Oct 22, 2026
View reviewed changes

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new 绑定值 section is an accurate translation of the English ## Binding Values section. I checked it line by line against the English page: it covers every option (single shortcut, comma-separated, array, object with key/event/preventDefault/fallthrough), the JSON example is identical, it sits in the same position, and it uses 快捷键 as the zh-cn glossary asks. The public API is unchanged: this is a docs-only edit. No concerns.

Related: #57623

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Kissshot-2003

Kissshot-2003 commented Nov 13, 2026

Copy link
Copy Markdown
Author

Same situation as the other zh-cn PRs: the docs moved to services/site/src/docs/v1/content/ (#63117, #62956), leaving this branch CONFLICTING against a deleted path.

The 绑定值 (Binding Values) section is still missing from the new services/site/src/docs/v1/content/zh-cn/keybinds.mdx while the English page has ## Binding Values — the content still needs to land on the new path.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Kissshot-2003 Kissshot-2003 closed this Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencode-agent opencode-agent[bot] opencode-agent[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Kissshot-2003
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.