Use named register for search.vim mappings
Use named register for search.vim mappings

Previously, the Visual mode mappings in search.vim relied on yanking the
selection then pasting where necessary.

This had been fine for some time, but I realized it clobbered both the
" and the 0 registers; I couldn't do yank, <Plug>SearchInPlace, cgn,
then insert my previous yank because the <Plug>SearchInPlace would have
clobbered the yank register.

Making search.vim mappings yank explicitly to a named register (I chose
g for GrepStar and s for SearchInPlace) means they'll bypass the 0
register, so I can still access my previous yank.

igemnace/vim-config,igemnace/vim-config,igemnace/my-vim-config,igemnace/vim-config