momodalo / vimtouch

vimtouch
Apache License 2.0
348 stars 71 forks source link

set mouse= breaks opening swap files and rendering #84

Open Spidey01 opened 9 years ago

Spidey01 commented 9 years ago

Put this in your $MYVIMRC:

set mouse=

If you create a swap file as noted in #83 and attempt to open it you will get a funky text prompt and Vim Touch will partially hang. I assume it is waiting for input as commands DO NOT WORK but Android GUI things like swiping the drawer on the side and the menu do work.

screenshot_2014-12-29-14-14-13

Also it causes some kind of debugging message to be thrown into the rendering. This manifests itself as a "SHOWTAB:0" in the screen shot below and such things happen during some editing commands. Like deleting a line with the 'dd' command. It really borks the entire editor!

screenshots_2014-12-29-14-18-20

Seems like this only happens if it is in .vimrc at startup. Changing the setting while Vim Touch is up and running doesn't seem to do anything.

Observed with 2.7.1412291815 from Google Play. Also in previous versions I've used in the past.