1
00:00:00,060 --> 00:00:02,090
- [Instructor] Say you'd like to start a new book.

2
00:00:02,090 --> 00:00:06,000
I wrote my book Forging Python using Vim.

3
00:00:06,000 --> 00:00:11,080
Open the terminal and write, vim moby.txt.

4
00:00:11,080 --> 00:00:13,070
You will start in normal mode.

5
00:00:13,070 --> 00:00:16,040
Hit i to enter insert mode.

6
00:00:16,040 --> 00:00:21,040
I, and then you can start writing your great next novel.

7
00:00:21,040 --> 00:00:23,080
Call me Ishmael.

8
00:00:23,080 --> 00:00:25,080
You can use the arrow keys to move around,

9
00:00:25,080 --> 00:00:28,030
hit Enter to move to a new line.

10
00:00:28,030 --> 00:00:30,090
So the arrow keys, Enter

11
00:00:30,090 --> 00:00:34,040
and the usual keyboard, including backspace.

12
00:00:34,040 --> 00:00:37,050
However, insert mode is for inserting text.

13
00:00:37,050 --> 00:00:40,010
Edits to the text are done in normal mode

14
00:00:40,010 --> 00:00:42,030
as you'll see in other chapters.

15
00:00:42,030 --> 00:00:44,090
The idea is that in the creative phase

16
00:00:44,090 --> 00:00:47,030
you write, you don't care about grammar,

17
00:00:47,030 --> 00:00:50,030
spelling, choice of words and many other things.

18
00:00:50,030 --> 00:00:51,090
Just get it out there.

19
00:00:51,090 --> 00:00:54,030
Then, when you're done with the creative phase,

20
00:00:54,030 --> 00:00:56,060
you go back and edit.

21
00:00:56,060 --> 00:00:58,070
Insert mode is for the creative phase.

22
00:00:58,070 --> 00:01:01,010
Just write text and let it flow.

23
00:01:01,010 --> 00:01:03,050
Editing is done in normal mode.

24
00:01:03,050 --> 00:01:06,030
To quit, hit Escape or Control + C

25
00:01:06,030 --> 00:01:07,080
to get back to normal mode

26
00:01:07,080 --> 00:01:12,000
and then colon q exclamation mark and Enter.

