momodalo / vimtouch

vimtouch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set clipboard=unnamed causes crash on large deletes

Spidey01 opened this issue · comments

Take a fairly large file like my vimrc and open it in Vim Touch.

Now delete everything with :%d

Vim will crash. I assume it runs out of memory. Does not work on small files with a few lines. But does work consistently with a big file like my vimrc.

This also crashes Vim Touch if you kill everything in visual mode (e.g. ggvGx). For some reason doing :g/.*/d will not cause a crash the way normal mode commands seem to.

Observed with 2.7.1412291815 from Google Play.