Home  >  Article  >  Operation and Maintenance  >  What are vim page turning and moving commands?

What are vim page turning and moving commands?

coldplay.xixi
coldplay.xixiOriginal
2020-06-30 11:17:196262browse

The vim page turning command is to turn the whole page [ctrl-f ctrl-b], to turn the half page [ctrl-d ctlr-u], to turn the line [ctrl-e ctrl-y]; vim move command It is the line number jump [gg file top, G file tail], screen movement [H screen top, M screen middle].

What are vim page turning and moving commands?

vim page turning and moving commands are:

1. Page turning command

1. Turn the whole page: ctrl-f ctrl-b
f is forword, b is backward

2. Turn half page
ctrl-d ctlr-u
d=down u=up

3. Turn one line
ctrl-e ctrl-y

Note:

  • zz: Let the line where the cursor is located be in the center of the screen

  • # #zt: Make the line where the cursor is on the top line of the screen t=top

  • zb: Make the line where the cursor is on the bottom line of the screen b=bottom

2. Move command

1. Line jump

What are vim page turning and moving commands? ##2. Screen movement

What are vim page turning and moving commands?

Related learning recommendations:
linux video tutorial

The above is the detailed content of What are vim page turning and moving commands?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn