Moving Fast and with High Precision using Search

Опубликовано: 16 Июнь 2026
на канале: Jaime González García
1,020
17

Learn how to move fast and with high precision vertically using the search command:

Use /{pattern} to search forward
Use n to go to the next matching pattern and N to the previous one
Use ?{pattern} to search backwards.
Use :nohl to remove the highlighted matching text

Note that n follows the direction of the search command and N goes in the opposite direction. i.e. with /{pattern}, n goes to the next match (forward), with ?{pattern} n still goes to the next match but this happens to be backwards.

For more info, check out this complete guide to Vim in VSCode: https://www.barbarianmeetscoding.com/...