aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-ordering.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-18 16:49:29 -0400
committerCraig Jennings <c@cjennings.net>2026-05-18 16:49:29 -0400
commit11d1578ae21ddcd6642509f004ec36ca01377778 (patch)
tree3a92af8f99736af886e5af61ff244c91ce084dd5 /modules/custom-ordering.el
parent78d03e66fd5ccc37b464967e96213ad858cda1c9 (diff)
downloaddotemacs-11d1578ae21ddcd6642509f004ec36ca01377778.tar.gz
dotemacs-11d1578ae21ddcd6642509f004ec36ca01377778.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/custom-ordering.el')
0 files changed, 0 insertions, 0 deletions