nix/home/config/tmux/module/Session.nix

15 lines
255 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ ... }: let
mod = "M";
2024-04-30 20:35:45 +03:00
in {
text = ''
2024-06-23 04:55:57 +03:00
bind -n ${mod}-z detach-client
bind -n ${mod}-Z detach-client -a
2024-04-30 20:35:45 +03:00
2024-06-23 04:55:57 +03:00
bind -n ${mod}-( switch-client -p
bind -n ${mod}-) switch-client -n
bind -n ${mod}-g choose-session
2024-04-30 20:35:45 +03:00
set -g window-size smallest
'';
}