On 11:51 Mon 25 Nov     , Paolo Bolzoni wrote:
> Dear list,
> I often search text in the latex documents to move around.
> So I press /<some known sentence> and Vim shows me the
> place because I have incsearch active.
> 
> Can I just stay in the place without pressing enter?
> I am asking because I also have hlsearch on and while
> it is normally useful in this particular case is not.
> 
> Yours sincerely,
> Paolo

Hi Paolo,

You can use '` or g; or '. or '^ or CTRL-o depending on situation to come back 
to
the place before your search.

To just highlight you can (I assume you have hlsearch option set):
:let @/='search pattern'

Chears,
Marcin

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to