Page Motion


Vim also includes a variety of commands that support moving the cursor in page-related increments, which can be convenient when moving the cursor larger distances within a buffer.

CommandAction
C-UMove cursor up one-half page
C-DMove cursor down one-half page
C-BMove screen up one page
C-FMove screen down one page

To demonstrate how these commands behave, the first sequence of steps navigates down the page using C-D:

Initial Conditions
Siddhartha
 
by·Herman·Hesse
 
THE·SON·OF·THE·BRAHMAN
 
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
NORMALTop1:1
 
Move the cursor<C-d>
THE·SON·OF·THE·BRAHMAN
 
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
young·falcon,·together·with·his·friend·Govinda,·son·of·a·Brahman.·The
sun·tanned·his·light·shoulders·by·the·banks·of·the·river·when·bathing,
performing·the·sacred·ablutions,·the·sacred·offerings.·In·the·mango
grove,·shade·poured·into·his·black·eyes,·when·playing·as·a·boy,·when
NORMAL36%5:1
 
Move the cursor (again)<C-d>
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
young·falcon,·together·with·his·friend·Govinda,·son·of·a·Brahman.·The
sun·tanned·his·light·shoulders·by·the·banks·of·the·river·when·bathing,
performing·the·sacred·ablutions,·the·sacred·offerings.·In·the·mango
grove,·shade·poured·into·his·black·eyes,·when·playing·as·a·boy,·when
his·mother·sang,·when·the·sacred·offerings·were·made,·when·his·father,
the·scholar,·taught·him,·when·the·wise·men·talked.
NORMAL56%9:1
 
Move the cursor back<C-d>
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
young·falcon,·together·with·his·friend·Govinda,·son·of·a·Brahman.·The
sun·tanned·his·light·shoulders·by·the·banks·of·the·river·when·bathing,
performing·the·sacred·ablutions,·the·sacred·offerings.·In·the·mango
grove,·shade·poured·into·his·black·eyes,·when·playing·as·a·boy,·when
his·mother·sang,·when·the·sacred·offerings·were·made,·when·his·father,
the·scholar,·taught·him,·when·the·wise·men·talked.
NORMAL81%13:1
 
Move the cursor back<C-d>
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
young·falcon,·together·with·his·friend·Govinda,·son·of·a·Brahman.·The
sun·tanned·his·light·shoulders·by·the·banks·of·the·river·when·bathing,
performing·the·sacred·ablutions,·the·sacred·offerings.·In·the·mango
grove,·shade·poured·into·his·black·eyes,·when·playing·as·a·boy,·when
his·mother·sang,·when·the·sacred·offerings·were·made,·when·his·father,
the·scholar,·taught·him,·when·the·wise·men·talked.
NORMAL94%15:1
 

Note that the cursor remained at the top of the screen, maximizing the amount of content below the cursor, until it approached the bottom of the buffer. At that point the cursor progressed toward the bottom of the buffer.

Next, navigate back up the page using C-U:

Move the cursor back
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
young·falcon,·together·with·his·friend·Govinda,·son·of·a·Brahman.·The
sun·tanned·his·light·shoulders·by·the·banks·of·the·river·when·bathing,
performing·the·sacred·ablutions,·the·sacred·offerings.·In·the·mango
grove,·shade·poured·into·his·black·eyes,·when·playing·as·a·boy,·when
his·mother·sang,·when·the·sacred·offerings·were·made,·when·his·father,
the·scholar,·taught·him,·when·the·wise·men·talked.
NORMAL94%15:1
 
Move the cursor back<C-u>
by·Herman·Hesse
 
THE·SON·OF·THE·BRAHMAN
 
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
young·falcon,·together·with·his·friend·Govinda,·son·of·a·Brahman.·The
sun·tanned·his·light·shoulders·by·the·banks·of·the·river·when·bathing,
NORMAL92%11:1
 
Move the cursor back<C-u>
Siddhartha
 
by·Herman·Hesse
 
THE·SON·OF·THE·BRAHMAN
 
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
NORMAL70%7:1
 
Move the cursor back<C-u>
Siddhartha
 
by·Herman·Hesse
 
THE·SON·OF·THE·BRAHMAN
 
In·the·shade·of·the·house,·in·the·sunshine·of·the·riverbank·near·the
boats,·in·the·shade·of·the·Salwood·forest,·in·the·shade·of·the·fig
tree·is·where·Siddhartha·grew·up,·the·handsome·son·of·the·Brahman,·the
NORMAL30%3:1
 

Similar to the previous sequence, while paging upward the cursor remains at the bottom of the screen until it approaches the top of the buffer.