Keep search matches in the middle of the screen

10 Points

Florian Beer Florian Beer

9 years ago

This moves the matches for your search to the center of the screen when you press n or N so it is easier to identify where you are in your document.

nnoremap n nzz
nnoremap N Nzz