mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
40 lines
1.7 KiB
Plaintext
40 lines
1.7 KiB
Plaintext
listen_on unix:@kitty-goliath
|
|
# open straight into goliath's tmux, over mosh: the UDP session survives
|
|
# suspend, roaming and dead links, and reconnects itself. mosh-server allocates
|
|
# the remote pty, so there is no `ssh -t` equivalent to pass. Caveat: mosh runs
|
|
# its bootstrap ssh with `-S none`, so it can never ride a ControlMaster --
|
|
# non-interactive key auth to goliath must work or every launch prompts for a
|
|
# password. Needs mosh on both ends and UDP 60000-61000 open on goliath.
|
|
# mosh also rewrites TERM to xterm-256color (it only forwards a color count),
|
|
# so xterm-kitty-only capabilities (undercurl, ...) are gone inside the session.
|
|
# MOSH_TITLE_NOPREFIX drops mosh's "[mosh] " window-title prefix.
|
|
env MOSH_TITLE_NOPREFIX=1
|
|
shell mosh goliath -- tmux new-session -A -s main
|
|
# structural keys forward to tmux (prefix C-b = \x02)
|
|
map super+w send_text all \x02x
|
|
map super+t send_text all \x02%
|
|
map super+n send_text all \x02"
|
|
map super+enter send_text all \x02t
|
|
map alt+h send_text all \x02H
|
|
map alt+l send_text all \x02L
|
|
map alt+t send_text all \x02t
|
|
map alt+n send_text all \x02t
|
|
map alt+q send_text all \x021
|
|
map alt+w send_text all \x022
|
|
map alt+e send_text all \x023
|
|
map alt+r send_text all \x024
|
|
map alt+t send_text all \x025
|
|
map alt+y send_text all \x026
|
|
map alt+u send_text all \x027
|
|
map alt+i send_text all \x028
|
|
map alt+o send_text all \x029
|
|
map super+left send_text all \x02\x1b[1;5D
|
|
map super+right send_text all \x02\x1b[1;5C
|
|
map super+up send_text all \x02\x1b[1;5A
|
|
map super+down send_text all \x02\x1b[1;5B
|
|
map super+d send_text all \x02d
|
|
tab_bar_style hidden
|
|
|
|
# Colors + transparency from the active Omarchy theme (last include wins)
|
|
include ~/.local/state/omarchy/current/theme/kitty.conf
|