1
00:00:00,050 --> 00:00:02,020
- [Instructor] When you edit text with VIM,

2
00:00:02,020 --> 00:00:05,020
you jump around a lot with motion commands.

3
00:00:05,020 --> 00:00:08,040
For example, let's open sherlock.txt.

4
00:00:08,040 --> 00:00:11,080
Vim sherlock.txt.

5
00:00:11,080 --> 00:00:16,000
We can move to the next sentence with the regular braces.

6
00:00:16,000 --> 00:00:19,070
We can move to the next paragraph with the curly braces.

7
00:00:19,070 --> 00:00:21,070
We can move to a specific line

8
00:00:21,070 --> 00:00:24,030
with colon and the line number.

9
00:00:24,030 --> 00:00:25,080
And so forth.

10
00:00:25,080 --> 00:00:28,090
VIM give us the option to move backward and forward

11
00:00:28,090 --> 00:00:30,070
in this jump list.

12
00:00:30,070 --> 00:00:33,090
You can use Control to move backward,

13
00:00:33,090 --> 00:00:36,070
and you can move Control + I to move forward

14
00:00:36,070 --> 00:00:38,050
in the jump list.

15
00:00:38,050 --> 00:00:40,080
I find this feature very helpful.

16
00:00:40,080 --> 00:00:43,070
Lot of times, when programming, I just move to see

17
00:00:43,070 --> 00:00:46,070
the clearation of a variable, and then use Control + L

18
00:00:46,070 --> 00:00:48,090
to go back to where I was editing.

19
00:00:48,090 --> 00:00:51,040
If you're curious, you can view the jump list

20
00:00:51,040 --> 00:00:54,000
with colon:jumps.

