]> git.madduck.net Git - etc/tmux.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

command to kill session
authormartin f. krafft <madduck@madduck.net>
Sat, 28 Mar 2020 00:19:58 +0000 (13:19 +1300)
committermartin f. krafft <madduck@madduck.net>
Sat, 28 Mar 2020 00:19:58 +0000 (13:19 +1300)
.tmux.conf

index b41bedfe7e1044f71cde6e9d25deb12c12f85d85..d4e20eb6e15a3fd342165daac10132e67f1ea31a 100644 (file)
@@ -17,4 +17,5 @@ set-option -g detach-on-destroy on
 set-option -g set-titles on
 set-option -g set-titles-string "#{pane_title}"
 
 set-option -g set-titles on
 set-option -g set-titles-string "#{pane_title}"
 
+bind-key '\' confirm-before -p "kill-session #S? (y/n)" kill-session