> it doesn't seem to be working. if you don't mind can you
> provide more info.
I can't explain why the tip works given the Help text quoted by
Gary Johnson (which I have puzzled over before). However, it
does, and using its technique, the following works.
http://vim.wikia.com/wiki/Search_for_visually_selected_text
nnoremap \jj :call Jj()<CR>/<C-R>/<CR>
fun! Jj()
let @/ = expand('<cword>')
endfun
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
No comments:
Post a Comment