Vim Masterclass - Working with Multiple Windows

Vim Masterclass - Working with Multiple Windows

Assessment

Interactive Video

•

Information Technology (IT), Architecture, Other

•

University

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

This video tutorial covers the use of windows in Vim, explaining how to open, split, and manage multiple windows and buffers. It provides detailed instructions on horizontal and vertical splits, resizing, rotating, and using buffer commands within windows. The tutorial also includes advanced window management techniques and concludes with guidance on accessing help resources.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you start Vim without any file names as arguments?

Vim opens with multiple windows and buffers.

Vim starts with one window and an unnamed buffer.

Vim displays a list of recent files.

Vim opens in read-only mode.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to split a window horizontally in Vim?

:vsplit

:window

:hsplit

:split

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view two sections of the same file simultaneously in Vim?

Open the file twice in different tabs.

Use the :edit command with different line numbers.

Use the :split command to create two views.

Copy the file content to a new buffer.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the shortcut to close the current window in Vim?

Ctrl + W, Q

:exit

Ctrl + Q

:close

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command allows you to rotate windows in Vim?

:move

:rotate

Ctrl + R

Ctrl + W, R

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'only' command do in Vim?

Closes all windows except the current one.

Opens all buffers in separate windows.

Saves all open files.

Switches to the next buffer.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you increase the height of a window in Vim?

Ctrl + H

Ctrl + W, +

Ctrl + W, -

Ctrl + J

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?