mouse middle button click support added

This commit is contained in:
Vaclav Tvrdik
2026-09-10 09:49:16 +02:00
parent ab501b8cb5
commit d2b763a95a
8 changed files with 106 additions and 19 deletions

View File

@@ -10,5 +10,12 @@
"command": "vterm_scroll",
"args": {"up": false},
"context": [{"key": "vterm_view.wheel_captured", "operand": true}]
},
{
// press_command: sublime's own button3 binding is a column drag_select,
// which would clear the selection before a release command could read it
"button": "button3",
"press_command": "vterm_paste_selection",
"context": [{"key": "vterm_view", "operand": true}]
}
]