Friday, July 6, 2012

yank matched portion of a selection of lines

I have a buffer open. I hit /, put in a search, and the matched text, which is the text I am interested in, is highlighted.

How do I yank that text, and only that text, in other words, not whole lines? Bonus points if I can also restrict it to a selection of lines, by number.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment