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 | 2db92366b572fe4d92bdb2402fb7dfcdb3d94136 (patch) | |
| tree | b8fe4a8f0b6d5757d50590a76d3fb1fdfd7b88c4 /modules/calendar-sync.el | |
| parent | f766b18ae5e4d10d8accc72d87ec34d0afb01a3a (diff) | |
| download | dotemacs-2db92366b572fe4d92bdb2402fb7dfcdb3d94136.tar.gz dotemacs-2db92366b572fe4d92bdb2402fb7dfcdb3d94136.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 'modules/calendar-sync.el')
0 files changed, 0 insertions, 0 deletions
