137608Re: evaluating vim functions in search mappings
- May 13, 2013:h indent()
returns indentation of current line.
:map <X> /^<c-r>=repeat(' ', indent(line('.')))<cr>\S<cr>
or such might do it.
A second solution would be using folding.
In the end - you should try using better search terms.
Eg googling for "indendation based movement vim"
I didn't read them, but they might be helpful.
Try to rethink about the way you're looking for information.
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@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>