momodalo / vimtouch

vimtouch
Apache License 2.0
349 stars 71 forks source link

"Edit vimrc" button freezes the app #12

Closed eater closed 11 years ago

eater commented 11 years ago

To reproduce:

-Upgrade to v1.6 -Launch vimtouch -Hit menu key -tap "Edit vimrc" button

The button is highlighted on the screen and the app stops responding.

Where does the vimrc live in the device filesystem? can I edit it another way?

momodalo commented 11 years ago

I found the same issue few days ago and it's because there is a .vimrc.swp exists and vim try to show dialog on the screen from ui thread which cause deadlock. It's fixed with below commit. https://github.com/momodalo/vimtouch/commit/0ecb803b98daade854a9942d32bbf0f26d6bb1d4

.vimrc location is /sdcard/.vimrc or /data/data/net.momodalo.app.vimtouch/files/ (without sdcard inserted)