Vim Masterclass - Visual Mode – Part 2

Vim Masterclass - Visual Mode – Part 2

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

This video tutorial covers the use of visual mode in text editors, focusing on indentation, tabs, and text alignment. It explains how to use different visual modes, such as character-wise, line-wise, and block-wise, and demonstrates how to perform operations like shifting, substituting, and aligning text. The tutorial also discusses settings like shift width, tab stop, and expand tab, and provides examples of using command mode for text manipulation.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key combination to start linewise visual mode in Vim?

Alt + V

Ctrl + V

Shift + V

Shift + L

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you quickly reselect the last visual area in Vim?

GV

GG

VV

LL

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value for the shift width setting in Vim?

8

2

10

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command in Vim is used to view the current tab stop setting?

:set tabstop?

:display tab

:set tab?

:show tabstop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expand tab setting do when enabled in Vim?

Inserts tab characters

Inserts spaces instead of tabs

Increases tab width

Decreases tab width

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start command mode in Vim after selecting a visual area?

Press /

Press \

Press ;

Press :

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to center text in Vim?

justify

center

align

middle

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?