vim 2023-12-01

Is there a standard vim (neovim) key binding to paste text when doing a search with / e.g. I copy a full git SHA hash value from the GitHub website and want to find it in the current buffer

I guess I could paste the SHA into the current buffer and then search, or use Spectre plugin (which is very nice) Just wondered if I was missing how to paste into the / or : prompt

type CTRL-R then name of register to paste from the register

in my case CTRL-R" works because everything I copy goes to " register

register or also CTRL-W works for word under the cursor

1

that's cool, so there are several c-r keys specific for command line https://vimhelp.org/cmdline.txt.html#c_CTRL-R_CTRL-W