Home  >  Q&A  >  body text

What is the command for turning pages in vim?

I’m not talking about what keys to press to turn pages, I’m talking about what commands to enter in command mode to be equivalent to pressing ctrl-F?

天蓬老师天蓬老师2712 days ago792

reply all(5)I'll reply

  • 某草草

    某草草2017-05-16 16:44:10

    There is no such command under ex command.
    Or control the number of rows by visual inspection:{n}

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-16 16:44:10

    Ctrl+fCtrl+b is to turn the page up and down.

    Ctrl+uCtrl+dIt’s a half page flipped up and down. For me, this is more commonly used and ensures a certain consistency.

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 16:44:10

    ctrl+f is just in command mode. If you don’t mind it, you can also use L and then zz, and up is H and then zz

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 16:44:10

    ctrl+f turns the page down, ctrl+b turns the page up, M moves the cursor to the middle of the page, gg returns to the top of the file, G returns to the bottom of the file, hjkl moves the cursor. . . . That's enough, what else do you want.

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-16 16:44:10

    :norm ^F

    Type^F的方法是:先按Ctrl+V,再按Ctrl+F

    reply
    0
  • Cancelreply