LX0-103 · Question #113
While using the vi editor, you wish to move ahead one page. You should press the control key and:
The correct answer is C. F. In vi, pressing Ctrl+F moves the cursor forward by one full page in the buffer.
Question
While using the vi editor, you wish to move ahead one page. You should press the control key and:
Options
- AA
- BD
- CF
- DU
How the community answered
(33 responses)- A6% (2)
- B3% (1)
- C88% (29)
- D3% (1)
Why each option
In vi, pressing Ctrl+F moves the cursor forward by one full page in the buffer.
Ctrl+A is not a standard vi page-navigation command and has no defined scrolling behavior in vi.
Ctrl+D scrolls forward by only half a page, not a full page.
Ctrl+F is the vi keybinding for 'forward one full page,' scrolling the viewport down by one screen. This is part of vi's standard navigation set, where the F mnemonic stands for Forward. Its counterpart, Ctrl+B, scrolls backward one full page.
Ctrl+U scrolls upward (backward) by half a page, which is the opposite direction and half the distance.
Concept tested: vi editor full-page forward navigation
Source: https://vimdoc.sourceforge.net/htmldoc/scroll.html
Topics
Community Discussion
No community discussion yet for this question.