Merge pull request #20 from ssiegel/keep-enabled
Keep bracketed paste enabled in normal and visual mode
This commit is contained in:
commit
148df8cb26
@ -24,8 +24,8 @@ function! WrapForTmux(s)
|
|||||||
return tmux_start . substitute(a:s, "\<Esc>", "\<Esc>\<Esc>", 'g') . tmux_end
|
return tmux_start . substitute(a:s, "\<Esc>", "\<Esc>\<Esc>", 'g') . tmux_end
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let &t_SI .= WrapForTmux("\<Esc>[?2004h")
|
let &t_ti .= WrapForTmux("\<Esc>[?2004h")
|
||||||
let &t_EI .= WrapForTmux("\<Esc>[?2004l")
|
let &t_te .= WrapForTmux("\<Esc>[?2004l")
|
||||||
|
|
||||||
function! XTermPasteBegin(ret)
|
function! XTermPasteBegin(ret)
|
||||||
set pastetoggle=<f29>
|
set pastetoggle=<f29>
|
||||||
|
Loading…
Reference in New Issue
Block a user