How to populate vim quickfix window
Try this on command to fill quickfix with lines which matches function signature:
:vim /^\s*\w\+\s\+\w\+\s*(.*)/ % | cw
Use this in .vimrc
map toc :vim /-- #/ % \| cw <CR>
Try this on command to fill quickfix with lines which matches function signature:
:vim /^\s*\w\+\s\+\w\+\s*(.*)/ % | cw
Use this in .vimrc
map toc :vim /-- #/ % \| cw <CR>