Vim Masterclass - Visual Mode – Part 2

Vim Masterclass - Visual Mode – Part 2

Assessment

Interactive Video

Created by

Quizizz Content

Information Technology (IT), Architecture

University

Hard

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

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?