When entering an argument on the command, I know I can type <C-R><C-W> to insert the word under the cursor and <C-R><C-A> to insert the WORD under the cursor.
Is there a way to insert the current visual-selection?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the contents of any register on the ex or search command-lines with
<C-R>followed by the register’s name. By yanking your visual selection, it is put into the0register, so<C-R>0will add your yanked selection to the current command-line.That is the only way I know of, but I still use it on a daily basis.