From 26fbf3ead604fd0f478e575e39ddc4bcee0a4b66 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 18 Jan 2025 20:00:45 -0600 Subject: [PATCH] Add tmux bind to kill current session; update runs/utils --- runs/utils | 5 ++++- src_files/.config/tmux/tmux.conf | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/runs/utils b/runs/utils index 75cb2b1..fc6f600 100755 --- a/runs/utils +++ b/runs/utils @@ -1,2 +1,5 @@ #!/bin/zsh -brew install jq + +# likely on unix systems already: find xargs grep sed awk + +brew install jq parallel diff --git a/src_files/.config/tmux/tmux.conf b/src_files/.config/tmux/tmux.conf index 63cad33..00ebf0c 100644 --- a/src_files/.config/tmux/tmux.conf +++ b/src_files/.config/tmux/tmux.conf @@ -20,6 +20,9 @@ bind -r l select-pane -R # reload tmux.conf bind r source-file "~/.config/tmux/tmux.conf" \; display-message "tmux.conf reloaded" +# kill the current session +bind Q rename-session zzzz-temp-kill\; switch-client -p\; kill-session -t zzzz-temp-kill + # use tmux-sessionizer in place of f find bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"