diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index d1875b6..2acdd31 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -81,6 +81,12 @@ bind C-s display-popup -E "\ fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' \ --bind 'enter:execute(tmux switch-client -t {})+accept'" +bind C-d display-popup -E "\ + tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\ + sed '/^$/d' |\ + fzf --reverse --header 'Delete Session' --preview 'tmux capture-pane -pt {}' \ + --bind 'enter:execute(tmux kill-session -t {})+accept'" + bind g display-popup -E "lazygit" run '~/.tmux/plugins/tpm/tpm'