What is the best way to do smooth scrolling in Vim?

后端 未结 10 1600
醉梦人生
醉梦人生 2021-01-30 03:01

The main scrolling commands in Vim are:

  1. Ctrl-B and Ctrl-F, as well as PageUp and PageDown scrol
10条回答
  •  日久生厌
    2021-01-30 03:20

    This combines many of these answers, and this is what I use.

    noremap   repeat("\ :sleep 10m", winheight('%')/2)
    noremap   repeat("\ :sleep 10m", winheight('%')/2)
    

提交回复
热议问题