ConradIrwin / vim-bracketed-paste

Handles bracketed-paste-mode in vim (aka. automatic `:set paste`)
MIT License
483 stars 28 forks source link

Check for empty $TMUX variable #13

Closed toupeira closed 9 years ago

toupeira commented 9 years ago

In some situations, like when running vim with sudo, $TMUX exists() for some reason but is empty. This causes the string "Ptmux;" to be displayed when entering and leaving insert mode.

ConradIrwin commented 9 years ago

Thanks!