1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-08 17:48:01 +00:00

Add Highlighting Search Matches as a vim til

This commit is contained in:
jbranchaud
2016-01-22 14:44:30 -06:00
parent 43f15f303b
commit 27d25619e8
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Highlighting Search Matches
Want to see all the places in the buffer that match a search pattern? Turn
on `hlsearch` and Vim will highlight all the matches of the previous search.
Try turning it on with `:set hlsearch` and then search for some pattern
using `/`.
If you no longer want to see all the highlighted matches, turn it off with
`:set nohlsearch`.
See `:h hlsearch` for more details.