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 | 0202a65825441562eb9903ccc28939367e29c274 (patch) | |
| tree | 9b9ec10782db71732050c1c9ac583b4dc6a05a8c /scripts/calendar_sync_api.py | |
| parent | b3d41f9a0c63b13ad497a48677de933a3fb5a5cf (diff) | |
| download | dotemacs-0202a65825441562eb9903ccc28939367e29c274.tar.gz dotemacs-0202a65825441562eb9903ccc28939367e29c274.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 'scripts/calendar_sync_api.py')
0 files changed, 0 insertions, 0 deletions
