add delete command
This commit is contained in:
parent
a91f52ae24
commit
e2442586b6
1 changed files with 6 additions and 0 deletions
|
|
@ -81,6 +81,12 @@ bind C-s display-popup -E "\
|
||||||
fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' \
|
fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' \
|
||||||
--bind 'enter:execute(tmux switch-client -t {})+accept'"
|
--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"
|
bind g display-popup -E "lazygit"
|
||||||
|
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue