diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-18 16:49:29 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-18 16:49:29 -0400 |
| commit | e066b5586752c75257c1065e2cc3c649993091a0 (patch) | |
| tree | 3a90e6ae65daab1a76679b9c86037f1b113a7623 /docs/design/agentic-knowledgebase.org | |
| parent | 231f5f9d20bb2235e845335df1dba1bba18ffadd (diff) | |
| download | dotemacs-e066b5586752c75257c1065e2cc3c649993091a0.tar.gz dotemacs-e066b5586752c75257c1065e2cc3c649993091a0.zip | |
feat(vterm): forward wheel events and route C-; x c into tmux copy-mode
vterm-mode-map binds only mouse-1 and mouse-yank-primary, so wheel events
fall through to Emacs scrolling and never reach the pty. tmux's `set -g
mouse on' never sees them. Bind wheel-up / wheel-down (and X11 mouse-4 /
mouse-5) to send SGR mouse-wheel escapes via vterm-send-string. tmux's
existing WheelUpPane / WheelDownPane bindings route into copy-mode from
there.
For keyboard parity, route C-; x c through cj/vterm-copy-mode-dwim, which
sends C-b [ when a tmux client is attached and falls back to vterm-copy-mode
otherwise. tmux's history-limit is now reachable from either entry point.
The matching copy-mode keys (M-w stays, C-g / q / Escape exit, Enter
unbound) land in the dotfiles repo alongside.
Diffstat (limited to 'docs/design/agentic-knowledgebase.org')
0 files changed, 0 insertions, 0 deletions
