Sunday, May 29, 2011

Re: Searching for accented characters.

On 05/29/2011 06:43 PM, Beren Sanders wrote:
> Is there an easy standard way to make accented characters match searches for
> their normal counterparts?
>
> For example, I obtain "é" by typing "<CTRL>-k ' e" and I would like to set
> it up so that searching for "Ajoute" will match both "Ajoute" and "Ajouté".

It sounds like you might want Vim's equivalence classes:

/Ajout[[=e=]]

which you can read about at

:help /[[=

Note the caveat about Latin1 vs. other encodings.

-tim

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

No comments: