Make focus events work.
This commit is contained in:
parent
0d8cdafb79
commit
6d675a93e6
14
020_tmux.sh
14
020_tmux.sh
|
|
@ -204,11 +204,16 @@ set-option -g status-position top
|
|||
|
||||
set-option -g default-terminal "tmux-256color"
|
||||
|
||||
set-option -g repeat-time 0
|
||||
|
||||
# vim-tmux-focus-events requires this or tmux-plugins/tmux-sensible enabled below.
|
||||
set -g focus-events on
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
bind-key -t vi-copy 'v' begin-selection
|
||||
bind-key -t vi-copy 'y' copy-selection
|
||||
|
||||
set-option -g repeat-time 0
|
||||
|
||||
|
||||
# Removes ESC delay
|
||||
set -sg escape-time 0
|
||||
|
|
@ -217,7 +222,6 @@ set -sg escape-time 0
|
|||
set -g @tpm_plugins ' \
|
||||
caiogondim/maglev \
|
||||
tmux-plugins/tpm \
|
||||
tmux-plugins/tmux-sensible \
|
||||
tmux-plugins/tmux-resurrect \
|
||||
tmux-plugins/tmux-continuum \
|
||||
tmux-plugins/tmux-yank \
|
||||
|
|
@ -229,6 +233,12 @@ set -g @tpm_plugins ' \
|
|||
tmux-plugins/tmux-prefix-highlight \
|
||||
'
|
||||
|
||||
## Sets emac key binding
|
||||
#set -g @tmp_plugins ' \
|
||||
# tmux-plugins/tmux-sensible \
|
||||
#'
|
||||
|
||||
|
||||
# Initialize TMUX plugin manager
|
||||
#run '~/.tmux/plugins/tpm/tpm'
|
||||
run '/usr/share/tmux-plugin-manager/tpm'
|
||||
|
|
|
|||
|
|
@ -163,8 +163,14 @@ Plugin 'terryma/vim-multiple-cursors'
|
|||
Plugin 'sudar/vim-arduino-syntax'
|
||||
Plugin 'ekalinin/Dockerfile.vim'
|
||||
Plugin 'tmux-plugins/vim-tmux'
|
||||
|
||||
" requires tmux.conf setting: set -g focus-events on or tmux-plugins/tmux-sensible plugin.
|
||||
Plugin 'tmux-plugins/vim-tmux-focus-events'
|
||||
|
||||
" text objects - https://github.com/kana/vim-textobj-user/wiki
|
||||
Plugin 'kana/vim-textobj-user'
|
||||
Plugin 'bps/vim-textobj-python'
|
||||
|
||||
" toggleable panels
|
||||
Plugin 'tpope/vim-vinegar'
|
||||
Plugin 'vim-scripts/taglist.vim'
|
||||
|
|
|
|||
Loading…
Reference in New Issue