Richard Livornese wrote:
> I'm trying to figure out how the correct command to search
> for a string and have the cursor positioned at the end(or
> beginning) of that string.
>
> From the documentation, it seems to me this should work:
>
> /string/e
>
> But when I try that I get the message:  E481: No range allowed.

Are you typing a colon first? Don't!

Assuming you have pressed Escape so you are in normal mode, type
the following and press Enter:

/string/e

That should find the next "string" and position the cursor on
the 'g'. Pressing n will repeat for the next occurrence.

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

Reply via email to