File manipulation (saving, writing, compiling, etc) Flashcards

1
Q

Write current file

A

:w or :write

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

Write current file, if modified, and quit

A

ZZ

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

Quit without checking for changes (like :q!)

A

ZQ

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

Run a compiler and enter quick-fix mode

A

:m or :make

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

Read external program output into current file

A

:r or :read

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

Write current file and quit

A

:wp

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