Wednesday, April 3, 2013

Re: do word jump commands without line-wrap?

On Wed, Apr 03, 2013 at 10:21:08AM -0700, neolus wrote:
> Hi! is there any fast neat way to tell vim not to go to next/previous word if
> it's on a different line that doesn't require writing a function? e.g. a
> flag or something? I looked but can't find anything on it other than
> whichwrap but it seems that only applies to hjkl stuff..

I believe you're looking for the 'f' command -- it is the linewise
search -- use it instead of '/' if you want to search current line
only -- after 'f', ';' repeats the search (staying on current line).

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment