When scrolling normally on a webpage, the cursor remains at the same place on the screen while the screen shifts smoothly up/down. I would like to replicate that functionality in vim. Ctrl-Y and Ctrl-E move the screen but the cursor does not stay at the same position on screen, it stays on same row.
So far, the only thing that comes close is Ctrl-U and Ctrl-D, but this scrolls half the screen's worth in rows. This doesn't enable smooth scrolling.
Is there a built in command for that?
Solution added after answers: No, there isn't a default way to do that. But there are these convenient mappings:
nnoremap <C-K> k<C-Y>
and
nnoremap <C-J> j<C-E>