On Mar 24, 10:18 pm, [email protected] wrote: > > I experimented with remapping of '*' -- as a > first experiment -- to > nmap * *<ctrl-o> > and > nmap * *^o > but failed badly. >
First problem with these mappings: :nmap allows recursive mappings. Use :nnoremap instead, so that you can legally use '*' in the right-hand-side. Second problem: The syntax for CTRL-O is <C-O>. So, your mapping would become: nnoremap * *<C-O> This will only copy the word into the search. You will now need to use a different method to actually jump to the next hit, like using the 'n' command in normal mode. -- 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 To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
