Hi there,

Using following vimrc, start vim using 'vim --noplugin -u test.vim' in
tmux and type 'da', the display will be messed up as shown in this
screenshot: http://paste.ubuntu.org.cn/i87266

set showcmd
set laststatus=2
let &t_SI="\033Ptmux;\033\e]12;blue\007\033\\"
let &t_EI="\033Ptmux;\033\e]12;RoyalBlue1\007\033\\"
nmap dx <nop>

This happens when 't_EI' is too long ('blue' instead of 'RoyalBlue1'
won't cause this), and the final 'nmap' is present. The escape sequence
is used to change cursor color in tmux.

This won't happen the second time in the same Vim session as the
'term_cursor_shape' function checks 'showing_insert_mode'.

-- 
Best regards,
lilydjwg

Linux Vim Python 我的博客
http://lilydjwg.is-programmer.com/

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui