Everytime I do this:
I end up with hidden code blocks at the bottom of the screen that I can't see. I tried 'zz' but it does not work. I did read this and this but that's for normal searching. I don't know what mode I'm in when I'm in search and replace ':' to be able to use
I tried this as well??
cnoremap <expr> n getcmdtype() =~ '[@-=:]' ? 'nzz' : 'n'