Skip to content

Commit cd7faa8

Browse files
author
Bruno Sutic
committedJun 29, 2015
Disable
1 parent 9a4309e commit cd7faa8

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### master
44
- do not set `aggressive-resize` on iTerm terminal
5+
- disable `detach-on-destroy`
56

67
### v3.0.0, 2015-06-24
78
- remove 'almost sensible' feature

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Inspired by [vim-sensible](https://github.com/tpope/vim-sensible).
5454
# super useful when using "grouped sessions" and multi-monitor setup
5555
setw -g aggressive-resize on
5656

57+
# don't detach tmux when killing a session
58+
set -g detach-on-destroy off
59+
5760
### Key bindings
5861

5962
# easier and faster switching between next/prev window

‎sensible.tmux

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ main() {
119119
tmux set-window-option -g aggressive-resize on
120120
fi
121121

122+
# why detach when killing a session?
123+
tmux set-option -g detach-on-destroy 'off'
124+
122125
# DEFAULT KEY BINDINGS
123126

124127
local prefix="$(prefix)"

0 commit comments

Comments
 (0)
Failed to load comments.