1
00:00:00,050 --> 00:00:02,060
- [Instructor] I hope by now you are convinced

2
00:00:02,060 --> 00:00:06,010
that Vim is one of the most powerful editors out there.

3
00:00:06,010 --> 00:00:07,090
And I also hope you understand

4
00:00:07,090 --> 00:00:09,080
the internal logic behind Vim's

5
00:00:09,080 --> 00:00:12,070
dual editing mode and its commands.

6
00:00:12,070 --> 00:00:15,040
And I'm sure that if you'll give it a bit of practice,

7
00:00:15,040 --> 00:00:18,060
you'll find yourself very productive using Vim.

8
00:00:18,060 --> 00:00:20,070
Vim has much more to offer.

9
00:00:20,070 --> 00:00:22,070
It has a great built-in help system

10
00:00:22,070 --> 00:00:27,030
you can access, :help user.

11
00:00:27,030 --> 00:00:30,020
And you will see all the things that you can ask Vim

12
00:00:30,020 --> 00:00:31,050
about how to move around,

13
00:00:31,050 --> 00:00:33,070
making small changes, setting settings,

14
00:00:33,070 --> 00:00:35,000
et cetera, et cetera.

15
00:00:35,000 --> 00:00:38,060
If you go to an topic and hit Control, Right square bracket,

16
00:00:38,060 --> 00:00:40,060
you will jump to that topic.

17
00:00:40,060 --> 00:00:44,070
Once you read enough, you can go back with Control and O.

18
00:00:44,070 --> 00:00:46,060
I think you'll find the tutorial helpful.

19
00:00:46,060 --> 00:00:51,050
From the command line, run vimtutor and hit Enter.

20
00:00:51,050 --> 00:00:53,060
And you will get into the Vim tutorial

21
00:00:53,060 --> 00:00:56,080
that will teach you a lot about how to use Vim.

22
00:00:56,080 --> 00:00:58,090
The community is great and helpful.

23
00:00:58,090 --> 00:01:02,050
And there are even games such as VIM Adventures

24
00:01:02,050 --> 00:01:05,090
that you can play and practice your Vim skills.

25
00:01:05,090 --> 00:01:08,050
There are books, such as A Byte of Vim,

26
00:01:08,050 --> 00:01:10,050
which are freely available.

27
00:01:10,050 --> 00:01:14,040
I personally learn a lot from VimGolf.

28
00:01:14,040 --> 00:01:18,040
VimGolf has problems with the Start file and an End file.

29
00:01:18,040 --> 00:01:20,020
And you need to change the Start file

30
00:01:20,020 --> 00:01:21,060
to look like the End file

31
00:01:21,060 --> 00:01:24,040
with the minimal amount of keystrokes.

32
00:01:24,040 --> 00:01:26,040
Vim also has a great plugin system

33
00:01:26,040 --> 00:01:28,090
that can extend it in many ways.

34
00:01:28,090 --> 00:01:31,010
From integration with your favorite language

35
00:01:31,010 --> 00:01:34,030
to fancy status bars and other capabilities.

36
00:01:34,030 --> 00:01:37,050
Here's how my Vim looks like when I'm working.

37
00:01:37,050 --> 00:01:39,040
Here I'm editing a Python file.

38
00:01:39,040 --> 00:01:41,050
I already have a warning about the blank line

39
00:01:41,050 --> 00:01:42,090
at the end of the file.

40
00:01:42,090 --> 00:01:45,080
I can do import os.

41
00:01:45,080 --> 00:01:48,060
And I have a warning that I'm not using OS model.

42
00:01:48,060 --> 00:01:52,080
Then I can do files = os.list,

43
00:01:52,080 --> 00:01:55,010
and I'll get an auto-completion

44
00:01:55,010 --> 00:01:57,040
with built-in help on the top.

45
00:01:57,040 --> 00:01:59,020
And once I'm done with that,

46
00:01:59,020 --> 00:02:01,010
I can get rid of the help.

47
00:02:01,010 --> 00:02:03,080
At the bottom, I have a fancy status line

48
00:02:03,080 --> 00:02:05,060
which shows me the current Git branch,

49
00:02:05,060 --> 00:02:07,010
that the file is currently modified

50
00:02:07,010 --> 00:02:09,090
and not saved to disk, and more features.

51
00:02:09,090 --> 00:02:13,020
I also can use the File Explorer

52
00:02:13,020 --> 00:02:16,070
to look for files and close it.

53
00:02:16,070 --> 00:02:21,040
And I can also search for files by name and open them

54
00:02:21,040 --> 00:02:22,080
and much, much more.

55
00:02:22,080 --> 00:02:26,010
You can find my vimrc in the Exercise Files.

56
00:02:26,010 --> 00:02:30,010
Feel free to reach to me at 353 Solutions,

57
00:02:30,010 --> 00:02:33,000
and I'll gladly help you become a Vim wizard.

