My goal is mapping n
to nzz
and keep the count on the status bar.
Based on maparg reference from here, I have tried this:
:exe 'nnoremap n nzz' . maparg('n', 'n')
It actually adds zz
, changing the default behavior of the n
key, but it makes me lose the count, let's say: [3/15] in the statusbar.