feat(tmux): improve session creation script

Add a simple README to document it
This commit is contained in:
Yorick Barbanneau 2025-05-11 23:43:49 +02:00
parent 72f0ec1c2c
commit 0492b3189a
No known key found for this signature in database
GPG key ID: 4447A19BBEDB8DBA
3 changed files with 135 additions and 6 deletions

View file

@ -52,7 +52,7 @@ in
bind -n M-F4 if 'tmux has-session -t 4' {switch-client -t 4} {display-popup -E -E 'create-tmux-session -i 4'}
# Alt+F10 for launching my Nix project
bind -n M-F10 run 'create-tmux-session -n config -p nix "run:nvim ." vsplit:20'
bind -n M-F10 run 'create-tmux-session -n config -r nix "run:nvim ." vsplit:20'
# change window with Alt+{1..5}
bind -n -N "Goto window 1" M-1 select-window -T -t 1