mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-11-21 23:28:50 +00:00
Enable focus-events
This commit is contained in:
parent
babfd71d08
commit
d2565e5f10
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
### master
|
### master
|
||||||
- check before binding `prefix + prefix` (@m1foley)
|
- check before binding `prefix + prefix` (@m1foley)
|
||||||
|
- enable `focus-events`
|
||||||
|
|
||||||
### v2.0.0, 2014-10-03
|
### v2.0.0, 2014-10-03
|
||||||
- bugfix: prevent exiting tmux if 'reattach-to-user-namespace' is not installed
|
- bugfix: prevent exiting tmux if 'reattach-to-user-namespace' is not installed
|
||||||
|
@ -53,6 +53,9 @@ Inspired by [vim-sensible](https://github.com/tpope/vim-sensible).
|
|||||||
# vi keys, even for vim users
|
# vi keys, even for vim users
|
||||||
set -g status-keys emacs
|
set -g status-keys emacs
|
||||||
|
|
||||||
|
# focus events enabled for terminals that support them
|
||||||
|
set -g focus-events on
|
||||||
|
|
||||||
### Core key bindings
|
### Core key bindings
|
||||||
|
|
||||||
# easier and faster switching between next/prev window
|
# easier and faster switching between next/prev window
|
||||||
|
@ -106,6 +106,9 @@ main() {
|
|||||||
# vi keys, even for vim users
|
# vi keys, even for vim users
|
||||||
tmux set-option -g status-keys emacs
|
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
|
# ALMOST SENSIBLE OPTIONS
|
||||||
|
|
||||||
if almost_sensible_on; then
|
if almost_sensible_on; then
|
||||||
|
Loading…
Reference in New Issue
Block a user