Ven Tadipatri wrote: > I was wondering if there was a way to paste the contents > of a buffer when in command line mode. For example, if I want > to search for the word that I'm on, I was thinking of > highlighting it in visual mode, yanking it into a buffer, > then searching for what I yanked.
Yes: Ctrl-R followed by register letter. See: http://vim.wikia.com/wiki/Paste_registers_in_search_or_colon_commands_instead_of_using_the_clipboard BTW I think you mean "register" and not "buffer". See: http://vim.wikia.com/wiki/Vim_buffer_FAQ John -- 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
