Enable focus-events

This commit is contained in:
Bruno Sutic 2014-12-12 22:40:09 +01:00
parent babfd71d08
commit d2565e5f10
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
3 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@
### master
- check before binding `prefix + prefix` (@m1foley)
- enable `focus-events`
### v2.0.0, 2014-10-03
- bugfix: prevent exiting tmux if 'reattach-to-user-namespace' is not installed

View File

@ -53,6 +53,9 @@ Inspired by [vim-sensible](https://github.com/tpope/vim-sensible).
# vi keys, even for vim users
set -g status-keys emacs
# focus events enabled for terminals that support them
set -g focus-events on
### Core key bindings
# easier and faster switching between next/prev window

View File

@ -106,6 +106,9 @@ main() {
# vi keys, even for vim users
tmux set-option -g status-keys emacs
# focus events enabled for terminals that support them
tmux set-option -g focus-events on
# ALMOST SENSIBLE OPTIONS
if almost_sensible_on; then