Skip to content
Discussion options

You must be logged in to vote

Awesome, that works 😍️
Thank you for the simple but good idea. I was thinking about doing it with the env var 'TMUX' which tmux sets but as kitty is the parent and tmux the child process kitty wouldn't retroactively know about that variable, but the title works fine! Here's how I've done it now:

This goes to '.tmux.conf'

# Create title that can be used to identify tmux sessions in kitty
set -g set-titles on
set -g set-titles-string "tmux:#S:#I:#W"

And this to 'kitty.conf'

# Unset the mapping to pass the keys to tmux
map --when-focus-on title:tmux ctrl+j
map --when-focus-on title:tmux ctrl+k
map --when-focus-on title:tmux ctrl+h
map --when-focus-on title:tmux ctrl+l

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jemabaris
Comment options

Answer selected by jemabaris
@maatthc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants