Vim Recall繁體中文

Move window six columns right

<ScrollWheelRight>

Example

Insert 0 / 1
one two
three four
Insertion point on line 1, column 1

Move window six columns right.

Illustrated windows

example.txt Active
Active buffer
long.txt
First visible column 40

Illustrated right viewport

abcdefghijklmnopqrstuvwxyz 0123456789 abcdefghijklmnopqrstuvwxyz 0123456789 abcdefghijklmnopqrstuvwxyz 0123456789 
First visible column
40
Gesture target
Inactive right window; screen row 4, column 60
Extent
One page: 8 lines / 24 columns; normal height 10 with 2-line overlap, insert height 8
Before & after
Before
one two
three four
Insertion point on line 1, column 1

Illustrated windows

example.txt Active
Active buffer
long.txt
First visible column 40

Illustrated right viewport

abcdefghijklmnopqrstuvwxyz 0123456789 abcdefghijklmnopqrstuvwxyz 0123456789 abcdefghijklmnopqrstuvwxyz 0123456789 
First visible column
40
Gesture target
Inactive right window; screen row 4, column 60
Extent
One page: 8 lines / 24 columns; normal height 10 with 2-line overlap, insert height 8
After
one two
three four
Insertion point on line 1, column 1

Illustrated windows

example.txt Active
Active buffer
long.txt
First visible column 46

Illustrated right viewport

abcdefghijklmnopqrstuvwxyz 0123456789 abcdefghijklmnopqrstuvwxyz 0123456789 abcdefghijklmnopqrstuvwxyz 0123456789 
First visible column
46
Gesture target
Inactive right window; screen row 4, column 60
Extent
One page: 8 lines / 24 columns; normal height 10 with 2-line overlap, insert height 8

ILLUSTRATION. Mouse wheel events are available, mouse=a and nowrap are set. Scroll the inactive right window. Assumed wheel defaults are 3 lines / 6 columns; system settings can change them. One page is represented as 8 lines or 24 columns in this illustration.

Details & Vim help

Move window six columns right. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Mouse support and terminal/GUI event handling must be available.