dotfiles
bugabingas dorkfiles
owned by bugabinga
fix keybinds for pi fullscreen mode
2f0f602197ac440d205d25edbc7e8ec35c6980ba
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (5)
1 -Subproject commit 89a04204f2c455559eabfcc122ccafadb55b6402
1 +Subproject commit e08c6a67825b66dbbf1e95739592fca15d420d0b
pi/agent/keybindings.json
Modified2 - "tui.select.cancel": [
"escape"]
2 + "tui.select.cancel": [
"escape"],
3 + "app.message.followUp": [
"alt+enter",
"ctrl+q"],
4 + "tui.altScreen.lineUp":
"pageUp",
5 + "tui.altScreen.lineDown":
"pageDown",
6 + "tui.altScreen.halfPageUp":
"shift+pageUp",
7 + "tui.altScreen.halfPageDown":
"shift+pageDown",
8 + "tui.altScreen.pageUp":
"ctrl+pageUp",
9 + "tui.altScreen.pageDown":
"ctrl+pageDown" wezterm/bugabinga/key_binds.lua
Modified168 - action = wez.action.ScrollByLine(
-1 ),
168 + action = wez.action_callback(
function ( window, pane )
169 + window:perform_action(
170 + pane:is_alt_screen_active()
171 + and wez.action.SendKey {
key =
'PageUp', }
172 + or wez.action.ScrollByLine(
-1 ),
171 178 key =
'PageDown',
172 - action = wez.action.ScrollByLine(
1 ),
179 + action = wez.action_callback(
function ( window, pane )
180 + window:perform_action(
181 + pane:is_alt_screen_active()
182 + and wez.action.SendKey {
key =
'PageDown', }
183 + or wez.action.ScrollByLine(
1 ),
177 - action = wez.action.ScrollByPage(
-0.42 ),
191 + action = wez.action_callback(
function ( window, pane )
192 + window:perform_action(
193 + pane:is_alt_screen_active()
194 + and wez.action.SendKey {
key =
'PageUp',
mods =
'SHIFT', }
195 + or wez.action.ScrollByPage(
-0.42 ),
180 201 key =
'PageDown',
182 - action = wez.action.ScrollByPage(
0.42 ),
203 + action = wez.action_callback(
function ( window, pane )
204 + window:perform_action(
205 + pane:is_alt_screen_active()
206 + and wez.action.SendKey {
key =
'PageDown',
mods =
'SHIFT', }
207 + or wez.action.ScrollByPage(
0.42 ),
wezterm/bugabinga/mouse_binds.lua
Modified13 13 action
= wez.action.ScrollByLine(
1),
17 17 event = {
Down = {
streak =
1,
button = {
WheelUp =
1 } } },
19 20 action = wez.action.ScrollByLine(
-5),
22 23 event = {
Down = {
streak =
1,
button = {
WheelDown =
1 } } },
24 26 action = wez.action.ScrollByLine(
5),
30 + event = {
Down = {
streak =
1,
button = {
WheelUp =
1 } } },
33 + mouse_reporting =
true,
34 + action = wez.action.Multiple {
35 + wez.action.SendKey {
key =
'PageUp', },
36 + wez.action.SendKey {
key =
'PageUp', },
37 + wez.action.SendKey {
key =
'PageUp', },
38 + wez.action.SendKey {
key =
'PageUp', },
39 + wez.action.SendKey {
key =
'PageUp', },
43 + event = {
Down = {
streak =
1,
button = {
WheelDown =
1 } } },
46 + mouse_reporting =
true,
47 + action = wez.action.Multiple {
48 + wez.action.SendKey {
key =
'PageDown', },
49 + wez.action.SendKey {
key =
'PageDown', },
50 + wez.action.SendKey {
key =
'PageDown', },
51 + wez.action.SendKey {
key =
'PageDown', },
52 + wez.action.SendKey {
key =
'PageDown', },
27 56 event = {
Down = {
streak =
4,
button =
'Left', }, },
28 57 action = wez.action.SelectTextAtMouseCursor
'SemanticZone',
wezterm/bugabinga/options.lua
Modified 9 9 cfg.check_for_updates
= false 10 - cfg.enable_kitty_keyboard
= not wez.target_triple:find(
'windows',
1,
true )
10 + cfg.enable_kitty_keyboard
= true 11 + cfg.bypass_mouse_reporting_modifiers
= 'ALT' 11 12 cfg.audible_bell
= 'Disabled' 12 13 cfg.notification_handling
= 'AlwaysShow' 13 14 cfg.warn_about_missing_glyphs
= false