Search code examples
vimfindmotion

Vim: f motion to accented char in US international


To find the next character one the line, one simply use the f key. It works well with standard char.
Say, for the following line:

one line of text.

If I want to go to the first "t", I just type f, t.
However, for the following line:

one line with accented character: à, é, ù.

I can't do f, ', e using a US international keyboard layout (with this layout, ', e produces "é").
It seems the ' escape the f motion (or try to find the "'" char in the line and then sends the "e" command).
How can I find an accented character? Thanks.


Solution

  • I didn't search enough...
    The answer lies here: http://vim.wikia.com/wiki/Entering_special_characters

    f, ctrl + K, e, ', space