From the course: Learning Vim
Vim for text editing - vi Tutorial
From the course: Learning Vim
Vim for text editing
- [Miki] Whether writing code, editing configuration files, or writing documentation, you'll find yourself working with text files. Having a good text editor will make you more productive and save you time, and we all know that time is money. Vim is a great text editor. It is packed with features, which allows it to easily handle tasks that are difficult for other editors. Another advantage of Vim is that it is pre-installed on Linux and Mac. If you need to quickly log to another machine and fix something, Vim will be there for you. In my LinkedIn Learning course, I'll share my 20 years' experience with Vim to teach you how to effectively use it. We'll start with the basics and move through with some more advanced features like using registers, marks, and more. So join me, Miki Tebeka, in my course, Learning Vim. Let's get hacking.
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.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
(Locked)
Navigate using keys: H, J, K, L1m 11s
-
(Locked)
Words, sentences, and paragraphs1m 46s
-
(Locked)
Challenge: Find word19s
-
(Locked)
Solution: Find word31s
-
(Locked)
Regular expressions1m 56s
-
(Locked)
Challenge: Search word8s
-
(Locked)
Solution: Search word14s
-
(Locked)
Screen movement47s
-
Challenge: Move screens5s
-
Solution: Move screens12s
-
(Locked)
Lines1m 40s
-
(Locked)
Challenge: Move lines14s
-
(Locked)
Solution: Move lines16s
-
(Locked)
Current word59s
-
(Locked)
Challenge: Find next instance of word23s
-
(Locked)
Solution: Find next instance of word22s
-
(Locked)
-
-
(Locked)
Delete text1m 16s
-
(Locked)
Challenge: Delete sentence5s
-
(Locked)
Solution: Delete sentence15s
-
Copy and paste2m 2s
-
(Locked)
Challenge: Copy and paste6s
-
(Locked)
Solution: Copy and paste15s
-
(Locked)
Change text1m 25s
-
(Locked)
Challenge: Change text13s
-
(Locked)
Solution: Change text16s
-
(Locked)
Visual selection1m 55s
-
(Locked)
Challenge: Use visual selection6s
-
(Locked)
Solution: Use visual selection21s
-
(Locked)
Registers2m 36s
-
(Locked)
Challenge: Use registers11s
-
(Locked)
Solution: Use registers46s
-
Replace text1m 7s
-
(Locked)
-
-
(Locked)
Define and jump to marks2m 7s
-
(Locked)
Challenge: Define and jump to mark7s
-
Solution: Define and jump to mark21s
-
(Locked)
Jump through history54s
-
(Locked)
Challenge: Jump back12s
-
(Locked)
Solution: Jump back21s
-
(Locked)
Move to last change1m 32s
-
(Locked)
Challenge: Last change9s
-
(Locked)
Solution: Last change22s
-
(Locked)
-
-
(Locked)
Windows and buffers1m 54s
-
(Locked)
Challenge: Buffer12s
-
(Locked)
Solution: Buffer28s
-
(Locked)
Edit files2m 12s
-
(Locked)
Challenge: Edit files10s
-
(Locked)
Solution: Edit files23s
-
(Locked)
Move between buffers1m 28s
-
(Locked)
Challenge: Switch buffer9s
-
(Locked)
Solution: Switch buffer22s
-
Read command1m 29s
-
(Locked)
Challenge: Insert file6s
-
(Locked)
Solution: Insert file13s
-
(Locked)
-
-
(Locked)
Configuration files1m 57s
-
(Locked)
Challenge: Set line numbers5s
-
(Locked)
Solution: Set line numbers15s
-
(Locked)
Map keys1m 14s
-
(Locked)
Challenge: Map key6s
-
(Locked)
Solution: Map key19s
-
(Locked)
Abbreviations1m 47s
-
(Locked)
Challenge: Abbreviate email14s
-
(Locked)
Solution: Abbreviate email27s
-
(Locked)
Add commands1m 35s
-
Challenge: Create command15s
-
(Locked)
Solution: Create command27s
-
(Locked)
Various settings2m 46s
-
(Locked)
Challenge: Edit .vimrc10s
-
(Locked)
Solution: Edit .vimrc34s
-
(Locked)
-
-
(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)