dotfiles
bugabingas dorkfiles
owned by bugabinga
feat(wezterm): add wheel scroll bindings — 1 line, shift+wheel 5 lines
e84d67390ab3a5fc34742c5b706df505bc0c83f1
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (1)
wezterm/bugabinga/mouse_binds.lua
Modified 1 1 local wez
= require 'wezterm' 6 + event = {
Down = {
streak =
1,
button = {
WheelUp =
1 } } },
8 + action = wez.action.ScrollByLine(
-1),
11 + event = {
Down = {
streak =
1,
button = {
WheelDown =
1 } } },
13 + action = wez.action.ScrollByLine(
1),
17 + event = {
Down = {
streak =
1,
button = {
WheelUp =
1 } } },
19 + action = wez.action.ScrollByLine(
-5),
22 + event = {
Down = {
streak =
1,
button = {
WheelDown =
1 } } },
24 + action = wez.action.ScrollByLine(
5),
5 27 event = {
Down = {
streak =
4,
button =
'Left', }, },
6 28 action = wez.action.SelectTextAtMouseCursor
'SemanticZone',