Basic Editing Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

⌘X

A

Cut line (empty selection)

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

⌘C

A

Copy line (empty selection)

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

⌥↓ / ⌥↑

A

Move line down/up

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

⇧⌥↓ / ⇧⌥↑

A

Copy line down/up

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

⇧⌘K

A

Delete line

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

⌘Enter / ⇧⌘Enter

A

Insert line below/above

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

⇧⌘\

A

Jump to matching bracket

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

⌘] / ⌘[

A

Indent/outdent line

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

Home /

A

End Go to beginning/end of line

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

⌘↑ / ⌘↓

A

Go to beginning/end of file

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

⌃PgUp / ⌃PgDn

A

Scroll line up/down

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

⌘PgUp /⌘PgDn

A

Scroll page up/down

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

⌥⌘[ / ⌥⌘]

A

Fold/unfold region

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

⌘K ⌘[ / ⌘K ⌘]

A

Fold/unfold all subregions

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

⌘K ⌘0 / ⌘K ⌘J

A

Fold/unfold all regions

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

⌘K ⌘C

A

Add line comment

17
Q

⌘K ⌘U

A

Remove line comment

18
Q

⌘/

A

Toggle line comment

19
Q

⇧⌥A

A

Toggle block comment

20
Q

⌥Z

A

Toggle word wrap