Skip to content

Commit

Permalink
rm tmux issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelock committed Jul 4, 2016
1 parent 3a439db commit 7c6b271
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -597,21 +597,3 @@ function! <SID>BufcloseCloseIt()
execute("bdelete! ".l:currentBufNum)
endif
endfunction

"function! WrapForTmux(s)
"if !exists('$TMUX')
"return a:s
"endif
"let tmux_start = "\<Esc>Ptmux;"
"let tmux_end = "\<Esc>\\"
"return tmux_start . substitute(a:s, "\<Esc>", "\<Esc>\<Esc>", 'g') . tmux_end
"endfunction

"let &t_SI .= WrapForTmux("\<Esc>[?2004h")
"let &t_EI .= WrapForTmux("\<Esc>[?2004l")
function! XTermPasteBegin()
set pastetoggle=<Esc>[201~
set paste
return ""
endfunction
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()

0 comments on commit 7c6b271

Please sign in to comment.