Shortcut

Vim Find a Character on the Line Shortcut

The Vim shortcut to find a character on the line is f{char} / F{char} on Windows. It's the same on Mac.

Quick Answer

Windows
f{char}/F{char}
Mac
f{char}/F{char}
Web
Not confirmed yet
VimShortcut

Find a Character on the Line

Windows
f{char}/F{char}

Jumps to the next copy of a character you type, or the previous one with the shift version.

Learn More

How to find a character on the line in Vim

  1. Open Vim and go to where you want to find a character on the line.
  2. Press f{char} / F{char} on Windows or f{char} / F{char} on Mac.

Vim Find a Character on the Line Shortcut for Windows

Press f{char} / F{char}.

Vim Find a Character on the Line Shortcut for Mac

Press f{char} / F{char}.

Vim Find a Character on the Line Shortcut for Vim Web

We haven't confirmed a Vim Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Vim find a character on the line shortcut?

On Windows, press f{char} / F{char}. On a Mac, press f{char} / F{char}.

Is there a Mac shortcut to find a character on the line in Vim?

Yes: f{char} / F{char}.

Does it work in Vim for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify