Kitty remap

This commit is contained in:
2025-11-07 09:20:49 +01:00
parent b0e4919f1a
commit a90656fb9e
2 changed files with 5 additions and 2 deletions

View File

@@ -57,8 +57,8 @@
# suspend inner tmux (to allow nested sessions)
bind @ { set prefix None; set key-table off }
# 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.
bind -T off C-Space { set -u prefix; set -u key-table }
# Instead, we bind f11 and use kitty to remap C-@ to f11.
bind -T off f11 { set -u prefix; set -u key-table }
'';
};
}

View File

@@ -28,6 +28,9 @@
map ctrl+minus change_font_size current -1.0
map ctrl+0 change_font_size current 0
map ctrl+backspace change_font_size current 0
# this is used to map
map ctrl+@ send_key f11
'';
};