mirror of
https://github.com/zoriya/flake.git
synced 2025-12-06 06:36:19 +00:00
Kitty remap
This commit is contained in:
@@ -57,8 +57,8 @@
|
|||||||
# suspend inner tmux (to allow nested sessions)
|
# suspend inner tmux (to allow nested sessions)
|
||||||
bind @ { set prefix None; set key-table off }
|
bind @ { set prefix None; set key-table off }
|
||||||
# NOTE: C-@ doesn't work since v3.5a (since tmux doesn't support kitty keyboard protocol)
|
# NOTE: C-@ doesn't work since v3.5a (since tmux doesn't support kitty keyboard protocol)
|
||||||
# Instead, C-@ and C-Space does the same thing.
|
# Instead, we bind f11 and use kitty to remap C-@ to f11.
|
||||||
bind -T off C-Space { set -u prefix; set -u key-table }
|
bind -T off f11 { set -u prefix; set -u key-table }
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,9 @@
|
|||||||
map ctrl+minus change_font_size current -1.0
|
map ctrl+minus change_font_size current -1.0
|
||||||
map ctrl+0 change_font_size current 0
|
map ctrl+0 change_font_size current 0
|
||||||
map ctrl+backspace change_font_size current 0
|
map ctrl+backspace change_font_size current 0
|
||||||
|
|
||||||
|
# this is used to map
|
||||||
|
map ctrl+@ send_key f11
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user