Chapter 5 Flashcards

1
Q

What C-^ command does

A

Toggle between alternate files(marked # in :ls mode)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What :bufdo{Ex} command does

A

Perform Ex command on each buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What :args{files} command does

A

Wipe args list and add {files} to the args list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What means hidden mark (h) for a buffer

A

It means that the buffer is altered, and we need either discard changes of save them before quitting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What C-w s/ C-w v or :sp[lit]/:vsp[lit] commands do

A

Split the screen into two horizontal/vertical parts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What C-w w command do

A

Cycle between opened windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What C-w {j | k | l | h} command does

A

Cycle between opened windows with respect to direction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What :on[ly] command does

A

Close all windows but current

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does C-w =

A

Equalize width and height of all windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does [N] C-w | /C-w _

A

Maximise height/width of the active window for N rows. If N is not specified it takes all available space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does :lcd {path}

A

Set up the working directory for a particular window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does :tabedit {filename}

A

Opens new tab with {filename} if file name is omitted, than create tab with empty buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does C-w T

A

If the current tab contains more than one window, create a tab with current buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does :tabc[lose]

A

Close current tab and all its windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does :tabo[nly]

A

Close all tab and all their windows but the current one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does :tabn[ext] {N} / {N}gt

A

Switch to next {N} tab{s}

17
Q

What does :tabp[revious] {N} / {N}gT

A

Switch to previous {N} tab{s}

18
Q

What does :tabmove {N}

A

Rearrange tab pages. When [N] is 0, the current tab page is moved to the beginning, and if we omit [N], the current tab page is moved to the end