From the course: Learning Vim
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Solution: Open file to line number - vi Tutorial
From the course: Learning Vim
Solution: Open file to line number
“
- [Instructor] So vim INDEX.md. I'm going to search for light, so /light and Enter. The dollar sign goes to the end of the line. A Insert Mode after the cursor, column two. And now Escape, and column W to save. Now Shift + B to go to the beginning, and G + Shift + F, and we recline to in light.txt.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Start Vim with a command1m 38s
-
(Locked)
Challenge: Use Vim command4s
-
(Locked)
Solution: Use Vim command26s
-
(Locked)
Diff mode3m 4s
-
(Locked)
Challenge: Diff mode8s
-
Solution: Diff mode18s
-
(Locked)
Zip files1m 19s
-
(Locked)
Challenge: Zip file8s
-
(Locked)
Solution: Zip file22s
-
(Locked)
Open files from name1m 22s
-
(Locked)
Challenge: Open file to line number11s
-
(Locked)
Solution: Open file to line number26s
-
(Locked)
External commands2m 9s
-
(Locked)
Challenge: External command13s
-
(Locked)
Solution: External command31s
-
(Locked)
-