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

15 lines
258 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
2024-08-22 05:03:39 +03:00
bind -n ${mod}-g choose-session -Z
2024-04-30 20:35:45 +03:00
set -g window-size smallest
'';
}