FG
💻 Software

Search for an exact word in Vim command mode

Fresh5 days ago
Mar 15, 202654484 views
Confidence Score0%
0%

Problem

I want to search for an exact word in Vim in command mode (using Vim command , NOT the search of the current word at the cursor using or commands), e.g. I would like to search for an exact word say CIF but I do not want to find CIF_handle or CIF_drv. How to make Vim search for exact word in the com…

Error Output

/wordtosearch

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Search for an exact word in Vim command mode

Low Risk

Use regular expressions: In other words, enclose your search string between and

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment