Merge pull request #16 from rwstauner/disable-tmux-wrap
Allow disabling tmux wrap with global var
This commit is contained in:
commit
36779ba3b1
@ -8,8 +8,13 @@
|
||||
" http://www.xfree86.org/current/ctlseqs.html
|
||||
" Docs on mapping fast escape codes in vim
|
||||
" http://vim.wikia.com/wiki/Mapping_fast_keycodes_in_terminal_Vim
|
||||
|
||||
if !exists("g:bracketed_paste_tmux_wrap")
|
||||
let g:bracketed_paste_tmux_wrap = 1
|
||||
endif
|
||||
|
||||
function! WrapForTmux(s)
|
||||
if !exists('$TMUX')
|
||||
if !g:bracketed_paste_tmux_wrap || !exists('$TMUX')
|
||||
return a:s
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user