Skip to the main content

Vim

Search backward for the word under the cursor

#

Mac Desktop app Vim default commands

Practice this

In Vim, the Hash key will search backward for the word under the cursor.

Where it works: Normal mode

Every documented variant

Variants of this shortcut
System Environment Keys
Linux Desktop app #
Mac Desktop app #

Where this comes from

Vim help: index.txt - vim/vim

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction