1
00:00:00,070 --> 00:00:02,060
- Open day.md.

2
00:00:02,060 --> 00:00:06,000
Vim day.md.

3
00:00:06,000 --> 00:00:07,090
You have a table of content and you would

4
00:00:07,090 --> 00:00:10,010
like to start writing the chapters.

5
00:00:10,010 --> 00:00:11,090
This file is in a Markdown format

6
00:00:11,090 --> 00:00:15,060
and it can be converted to HTML, PDF, and other formats.

7
00:00:15,060 --> 00:00:18,010
All the 1's will be converted to

8
00:00:18,010 --> 00:00:20,060
a numbered list by the Markdown processor.

9
00:00:20,060 --> 00:00:25,020
Meaning at the end you'll see 1, 2, 3, et cetera, et cetera.

10
00:00:25,020 --> 00:00:27,060
Why don't I write the explicit numbers?

11
00:00:27,060 --> 00:00:29,070
I'll let you figure that out.

12
00:00:29,070 --> 00:00:31,090
I would like to start writing content.

13
00:00:31,090 --> 00:00:35,030
Move to the end of the file with SHIFT + G.

14
00:00:35,030 --> 00:00:39,070
Use O to get into insert mode and write some text.

15
00:00:39,070 --> 00:00:47,080
The key to waking up is keeping your eyes open.

16
00:00:47,080 --> 00:00:49,040
Once you're done with this chapter

17
00:00:49,040 --> 00:00:51,050
you need to copy the next chapter header

18
00:00:51,050 --> 00:00:53,030
for the table of content.

19
00:00:53,030 --> 00:00:56,050
You can do a search or jump to the exact line number.

20
00:00:56,050 --> 00:00:59,010
However, since you'll be jumping to the same place

21
00:00:59,010 --> 00:01:01,070
every time you can mark it.

22
00:01:01,070 --> 00:01:03,020
Jump to line number 3.

23
00:01:03,020 --> 00:01:05,060
Start with going back to normal mode

24
00:01:05,060 --> 00:01:09,020
with Escape then Colon 3.

25
00:01:09,020 --> 00:01:12,090
Now create a mark by entering MA.

26
00:01:12,090 --> 00:01:17,000
M means create a mark and A is the name of the mark.

27
00:01:17,000 --> 00:01:21,040
You can use all the lower and upper case letter as marks.

28
00:01:21,040 --> 00:01:24,050
Lowercase marks are local to the current buffer,

29
00:01:24,050 --> 00:01:27,060
while uppercase marks are across (inaudible).

30
00:01:27,060 --> 00:01:30,000
Now copy the next one.

31
00:01:30,000 --> 00:01:36,010
Use J to go one line down and YY to yank or copy the line.

32
00:01:36,010 --> 00:01:37,070
Now back to the end of the file

33
00:01:37,070 --> 00:01:42,010
with SHIFT + G and P to Paste.

34
00:01:42,010 --> 00:01:43,050
Change to Subheader.

35
00:01:43,050 --> 00:01:49,080
So C/E, change until E and then

36
00:01:49,080 --> 00:01:52,030
two hash marks for the chapter header.

37
00:01:52,030 --> 00:01:53,080
Now we can write more.

38
00:01:53,080 --> 00:01:54,090
When you'd like to jump to the

39
00:01:54,090 --> 00:01:57,070
table of content again use your mark.

40
00:01:57,070 --> 00:02:03,040
Back to normal mode with Escape and then single quote A.

41
00:02:03,040 --> 00:02:07,000
Here you can copy the next item, paste it and so on.

