" Often useful for picking out the this pointer and parameters.
function! vshelp#guess_correct_pointer()
	%smagic/\v(.\u{-}.=.\x+) /\1
/g
	" Heap pointers on my platform start with the same bitpattern, so they're
	" easy to identify.
	v/07FF/d
	%sort /=/u
endf

" Often useful for picking out the this pointer and parameters.
function! vshelp#guess_correct_pointer()
	%smagic/\v(.\u{-}.=.\x+) /\1\r/g
	" Heap pointers on my platform start with the same bitpattern, so they're
	" easy to identify.
	v/07FF/d
	%sort /=/u
endf

Use \r to insert a newline in :substitute
Use \r to insert a newline in :substitute

Using a ^M can do weird things with line handling, so use the escape
sequence instead.

idbrii/vim-vshelp