Versions: VIM: Vi IMproved 7.3 (2010 Aug 15, compiled Nov 9 2011 03:56:48) URxvt: rxvt-unicode (urxvt) v9.12 - released: 2011-06-29 Xterm: 275 X11: 1.11.2 Distro: Archlinux (all packages updated) vimrc: https://github.com/anthonygclark/dotfiles/blob/master/.vimrc
After talking with `mgedmin` on the freenode #vim channel, we have
confirmed a reoccurring issue with vim and :Explore. In summary, mouse
support is lost after initiating :Explore.
To reproduce, open vim, see that mouse is working in visual mode as
intended, open :Explore, observe that the mouse no longer is bound to vim,
meaning using the mouse
highlights text via the terminal, not vim.
This issue is solved in URXVT by setting `ttymouse=urxvt` in .vimrc. But,
setting `ttymouse=xterm` does NOT fix the issue with xterm, or other xterm
based terminals, like gnome-terminal
or xfce4's Terminal. Below is the relevant settings in my .vimrc in which I
am trying to solve the issue.
set term=$TERM
if &term == "rxvt-unicode-256color"
set ttymouse=urxvt
else
if &term == "xterm"
set ttymouse=xterm2
endif
endif
Attached in a output of `script` which shows the escape sequences. I ran
`script`, then vim, opened the :Explore and then quit. Also, `mgedmin`
thinks its the + and * registers disabling the xterm mouse.
That is about all of the information I give since I am novice with
debugging such a complex application. Good luck!
--
Anthony G. Clark
Gtalk:: clark.anthony.g
Phone:: 951 526 5237
Web :: http://www2.potsdam.edu/clarka193
Web :: http://sites.google.com/site/aclarkdev
--
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
typescript
Description: Binary data
