> :set smartsearch="[a-zA-Z]"
> and/or
> :set smaltsearchfun=myfun()
the latter is much better

By the way: you don't have to start coding this thing in c
You can write this in some vim script lines (however it'll start
searching after pressing enter and not on the fly)

By the way: Have a look at :h pattern.
There is \s and \S and such which makes life easier..

Try this:

noremap <F11> :call<space>feedkeys('/'.substitute(input('smart 
search'),'\(\S\+\)\s*','\\<\1\\S*\\>\\s*','g').nr2char(10))<cr>

Another tip: If you're trying to match text within a block. Don't search
for "If you're" but try "'re t" or "ch te" instead of "match text".
In most cases this is uniq enough.

Marc Weber

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui