improve K bind and set remain-on-exit

Tue, 08 Jun 2021 22:55:49 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 08 Jun 2021 22:55:49 -0500
changeset 909
aa1b7e2ef1d9
parent 908
fa7c0607c00e
child 910
272ba799a19e

improve K bind and set remain-on-exit

.tmux.conf file | annotate | diff | comparison | revisions
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,6 +1,7 @@
 set -g default-terminal "screen-256color"
 set -g history-limit 6000
 set -g display-time 4000
+set -g remain-on-exit failed
 
 set -g mouse on
 
@@ -38,6 +39,7 @@ source-file ~/.tmux/vim-keys.conf
 
 bind S choose-session
 bind @ choose-window 'join-pane -h -s "%%"'
+bind K confirm-before -p "kill-pane #P? (y/n)" kill-pane
 
 if-shell 'test -e ~/.tmux.conf.local' "source ~/.tmux.conf.local"
 

mercurial