On Mon, Apr 19, 2010 at 4:09 AM, John Beckett <[email protected]> wrote: > stosss wrote: >> I am not understanding how to use visual-mode in my search >> pattern. I can't figure out how to make it work. > > You haven't said what you want to do. A short example is often > useful. If you want to search for selected text, see: > http://vim.wikia.com/wiki/Search_for_visually_selected_text > > John
That tip looks like it is probably useful but I still can't figure it out either. I am new and still learning. Here is what I am trying to do. There are curly quotes in a text file and I want to replace them with straight quotes. Since I don't see any way to type a curly quote in vim. I need to high-light one (visual-mode? select-mode? CTRL something?) so I can use/put it in my search pattern so they can be replaced with straight quotes. -- If we can but prevent the government from wasting the labours of the people, under the pretence of taking care of them, they must become happy. - Thomas Jefferson -- 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 Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en
