diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-17 11:56:10 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-17 11:56:10 +0200 |
| commit | 54200aef4ab21a2b9732099e2d5940e6284c821d (patch) | |
| tree | f7c3a6bc8c6ac582445030305682757f90ff608c | |
| parent | ac5cf485118f6e08a95a719fbd80c189e2c485cf (diff) | |
| download | dotfiles-54200aef4ab21a2b9732099e2d5940e6284c821d.tar.gz dotfiles-54200aef4ab21a2b9732099e2d5940e6284c821d.zip | |
misc(tmux): update session navigation config
Opening foot starts `tmux` in a `dev` session if it doesn't exists. It
avoids leaving an intermediate stale session open when I need to open a
new one.
Alt+Shift+M has been rebound `choose-tree` → `choose-session` because
it's more readable.
| -rw-r--r-- | .config/foot/foot.ini | 2 | ||||
| -rw-r--r-- | .config/tmux/tmux.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index b267b6c..1af1160 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -4,7 +4,7 @@ # Use `foot --check-config` to verify the configuration [main] -shell=/usr/bin/tmux +shell=/usr/bin/tmux new-session -A -s dev term=foot login-shell=no app-id=foot diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 5fa6a6c..3585551 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -27,7 +27,7 @@ set-option -g prefix C-Space bind-key C-space send-prefix bind-key -T root M-: command-prompt -bind-key -T root M-M choose-tree +bind-key -T root M-M choose-session bind-key -T root M-{ copy-mode bind-key -T root M-Q kill-session |
