Assume I have an unnamed buffer which hasn't been saved to the disk. Can I list all occurrences in that buffer of a pattern in the QuickFix window, and navigate with double-clicking mouse-1 or ":.cc"?
I know something about ":grep" and ":vimgrep". They
seem to be use only on *files*.
And ":g/<pattern>/#" just *prompts* a list.
Any idea?
___________________________________________________________
抢注雅虎免费邮箱-3.5G容量,20M附件!
http://cn.mail.yahoo.com
