momodalo / vimtouch

vimtouch
Apache License 2.0
348 stars 71 forks source link

set clipboard=unnamed causes crash on large deletes #85

Open Spidey01 opened 9 years ago

Spidey01 commented 9 years ago

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.