Skip to content

Commit

Permalink
Merge pull request #21 from Ekleog/master
Browse files Browse the repository at this point in the history
Support newer tmux versions
  • Loading branch information
ConradIrwin committed Feb 17, 2016
2 parents 148df8c + 475f337 commit 765e757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/bracketed-paste.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if !exists("g:bracketed_paste_tmux_wrap")
endif

function! WrapForTmux(s)
if !g:bracketed_paste_tmux_wrap || !exists('$TMUX')
if !g:bracketed_paste_tmux_wrap || !exists('$TMUX') || system('tmux -V')[5] >= '2'
return a:s
endif

Expand Down

0 comments on commit 765e757

Please sign in to comment.