[vim][tmux] Better work between them

This commit is contained in:
Mathieu Maret 2015-12-08 14:59:32 +01:00
parent 25b3f5f386
commit 15e2ce5cf9
2 changed files with 5 additions and 1 deletions

View File

@ -83,4 +83,7 @@ set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]
set -g history-limit 4096 set -g history-limit 4096
#improve communication with vim
set -g focus-events on
bind r source-file ~/.tmux.conf bind r source-file ~/.tmux.conf

3
.vimrc
View File

@ -438,7 +438,8 @@ Plugin 'airblade/vim-gitgutter'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
" Comment block of code " Comment block of code
Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-commentary'
" Make terminal vim and tmux work better together.
Plugin 'tmux-plugins/vim-tmux-focus-events'
" language pack " language pack
Plugin 'sheerun/vim-polyglot' Plugin 'sheerun/vim-polyglot'
" color even for terminal without gui... " color even for terminal without gui...