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

Hehe ... incremental search is the pareto 10% of perfection in search :)
without incremental
search one can do the job, but in huge texts you are much less productive

>By the way: Have a look at :h pattern.
>There is \s and \S and such which makes life easier..
I know I know... but wanted to put bit more weight to what I was presenting
:)

>>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.
I know, I do it generally like that. However I work every day with 5
european languages, often
pure my soul I am confused about the spelling of a word, so the trick above
does not work.
The other problem is that I have to work/mainly read text with umlaut
(German, Hungarian) or
other hierogliphs like in French, Romanian, Spanish. I do not have these
characters on the dvorak
keyboard so smart searching for a sequence of the characters would help a
lot. (and I am sure not
only me)



Marc Weber





-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com

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

Raspunde prin e-mail lui