On Aug 10, 4:07 pm, "John Beckett" <[email protected]> wrote: > sinbad wrote: > > why doesn't the "/ register filled with the current search. > > with the following mapping. should i do something special > > > nmap \jj :call Jj() > > See the second solution > at:http://vim.wikia.com/index.php?title=Search_for_visually_selected_text > > You put this at the end of the mapping: > /<C-R>/<CR> > > The first slash starts a search, and the second inserts the > contents of the search register (set by the function). > > John
hi john, end of mapping ? should i map like this. nmap \jj :call Jj() /<C-R>/<CR> it doesn't seem to be working. if you don't mind can you provide more info. thanks -- 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
