On Wed, 24 Nov 2010, Gary Jennejohn wrote:
OK, this may be unreasonable, but here's my story.
BTW FreeBSD 9-current.
I was editing a file with vile, which per wc -l has 132,096 lines.
I moved part way through the file and entered dG; vile would have had
to delete about 110,000 lines.
It may be unreasonable and I don't know the inner workings of vile, but it
seems like dG should just do something like "hey, I know where I am and
I know where the end of the buffer is, so I'll just pretend that the
buffer ends here now" rather than noodling around for a long time with
no apparent effect, other than printing ...working in the status line.
There's two parts -
a) deleting lines with syntax-highlighting turned on is slow
b) the undo-stack is (not as slow as syntax) a secondary issue.
If I'm thinking ahead, I do ^X-Q to clear the syntax highlighting,
before doing a large delete which usually makes it simpler.