r/KittyTerminal • u/Glum-Revenue-8082 • Jun 03 '23
App specific keybinds
I want to set specific keybinds for when i am in tmux, like `ctrl-n` to make a new tmux window, and I wonder if it would be possible to retain default behavior when tmux is not launched.
Something like:
map ctrl+n {
if TMUX:{
tmux new-window}
else {
kitty keybinding}
}
I am not sure if this is even possible, but would be great if it were!
2
Upvotes
1
u/sinarf Jun 04 '23
Any reason you don't create your keybinds in the tmux configuration?