Vim find all in file and show in quickfix window

:vimgrep /pattern/ %

and then

:copen

or

:cwindow