1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [/search](<https://delaparra-services.nl/knowledge-hub/search>)

  

Category: Keyboard shortcuts 

# /search

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is /search?

 

/search: Vim: search forward for a pattern. Press n for the next match, N for the previous. In Vim, pressing ` / ` starts a forward search. Type a word or pattern, press Enter, and the cursor jumps to the next match. Press ` n ` to go to the next match and ` N ` to go back. ` ? ` does the same search backwards.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about /search

  

### How is /search used in practice?

 

The search accepts regular expressions, so ` /function \w\+ ` finds function definitions. Adding ` \c ` anywhere in the pattern makes it ignore case for that search. ` :set hlsearch ` marks every match on the screen, and ` :noh ` clears the highlight again.

    

### What should you keep in mind with /search?

 

The same key works in many other tools you already use. ` less `, ` man ` pages and ` more ` all support ` / ` to search the text on screen. Once the habit is in your fingers, reading a long log file or a manual page in the terminal becomes much faster than scrolling.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [:wq (write & quit)](<https://delaparra-services.nl/knowledge-hub/wq-write-quit>) 
- [Add Cursor Above / Below](<https://delaparra-services.nl/knowledge-hub/add-cursor-above-below>) 
- [Add Cursor at Click](<https://delaparra-services.nl/knowledge-hub/add-cursor-at-click>) 
- [Autocomplete](<https://delaparra-services.nl/knowledge-hub/autocomplete>) 
- [Cancel / Interrupt (SIGINT)](<https://delaparra-services.nl/knowledge-hub/cancel-interrupt-sigint>) 
- [ciw (change inner word)](<https://delaparra-services.nl/knowledge-hub/ciw-change-inner-word>)

 

[All terms starting with a number or symbol](<https://delaparra-services.nl/knowledge-hub#letter-other>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/search)
