Expose the area of the file surrounding your cursor with these z commands
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.
I think it is worth mentioning the 'set scrolloff=n' where 'n' will define a distance in lines when we scroll the cursor
`nnoremap n nzz` and `nnoremap N Nzz` to combine it with search
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.
I think it is worth mentioning the 'set scrolloff=n' where 'n' will define a distance in lines when we scroll the cursor
`nnoremap n nzz` and `nnoremap N Nzz` to combine it with search