nix/home/file/tmux/module/Window.nix

16 lines
363 B
Nix
Raw Normal View History

2024-11-04 04:37:29 +03:00
{ ... }: {
text = ''
bind -n M-Escape new-window -c "#{pane_current_path}"
bind -n M-t new-window -c "#{pane_current_path}"
2024-04-30 20:35:45 +03:00
2024-11-04 04:37:29 +03:00
bind -n M-x kill-window
bind -n M-X kill-window -a
2024-04-30 20:35:45 +03:00
2024-11-04 04:37:29 +03:00
bind -n M-e next-window
bind -n M-q previous-window
2024-04-30 20:35:45 +03:00
2024-11-04 04:37:29 +03:00
bind -n M-E swap-window -t +1\; select-window -t +1
bind -n M-Q swap-window -t -1\; select-window -t -1
'';
2024-04-30 20:35:45 +03:00
}