3 Comments
User's avatar
bobbyquine_'s avatar

Just wanted to add on: z<return> and zt does the same thing. Personally I prefer the former, probably coz I find it easier to type.

Expand full comment
SergioAraújo's avatar

I think it is worth mentioning the 'set scrolloff=n' where 'n' will define a distance in lines when we scroll the cursor

Expand full comment
JackySee's avatar

`nnoremap n nzz` and `nnoremap N Nzz` to combine it with search

Expand full comment