Skip to content

docs: add Shift+Drag hint for tmux/vim in copy-on-select setting#298

Merged
binaricat merged 1 commit intomainfrom
fix/copy-on-select-tmux-hint
Mar 9, 2026
Merged

docs: add Shift+Drag hint for tmux/vim in copy-on-select setting#298
binaricat merged 1 commit intomainfrom
fix/copy-on-select-tmux-hint

Conversation

@binaricat
Copy link
Owner

Summary

Add a hint in the "Copy on select" setting description to guide users on text selection in tmux/vim with mouse mode enabled.

Problem

When tmux has set -g mouse on or vim has set mouse=a, dragging to select text is captured by the terminal application instead of xterm.js. Users may not know the standard workaround.

Solution

Update the setting description for "Copy on select" in both EN and zh-CN locales to include a tip:

  • EN: "Automatically copy selected text. In tmux/vim with mouse mode, hold Shift to select"
  • 中文: "自动复制选中的文本。在 tmux/vim 鼠标模式下,按住 Shift 拖选即可选中文本"

Changes

  • en.ts: Updated copyOnSelect.desc
  • zh-CN.ts: Updated copyOnSelect.desc

Partially addresses #294

…pdate the copy-on-select setting description in both EN and zh-CN\nlocales to guide users on how to select text when tmux or vim has\nmouse mode enabled: hold Shift while dragging.\n\nPartially addresses #294
@binaricat binaricat merged commit d0b941e into main Mar 9, 2026
@binaricat binaricat mentioned this pull request Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant