Learning Vim
1h 17mBeginner2018-11-02
Authors

Miki Tebeka
CEO at 353Solutions
Course details
Vim is the most versatile, configurable, cross-platform text editor around, available for Mac, Windows, Linux, and even legacy operating systems like Amiga. It's built for developers, with powerful commands and productivity-boosting features like dual editing mode and syntax highlighting. This course is designed to help anyone new to Vim become more efficient when editing text files, code and configuration files. Learn how to create new files; search for words and characters; move around files; edit and delete text; store text in registers; jump around files with marks ( bookmarks); and use commands to speed up common tasks. Instructor Miki Tebeka fills the course with examples and demos that show how Vim is used in the real-world, day-to-day workflow of a developer or sysadmin.
Learning objectives
Installing Vim
Creating new files from scratch
Searching for words and phrases in Vim
Moving through screens and lines
Editing and deleting text
Using registers
Defining marks
Editing configuration
Using Vim commands
Learning objectives
Installing Vim
Creating new files from scratch
Searching for words and phrases in Vim
Moving through screens and lines
Editing and deleting text
Using registers
Defining marks
Editing configuration
Using Vim commands
Skills covered
viSoftware Development ToolsLearningOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Vim for text editing
- 02 - Why Vim
- 03 - Vim installation
- 04 - Sample files and challenges
1. Basics
- 05 - Start and quit Vim
- 06 - Dual mode
- 07 - Insert text
- 08 - Save and quit
- 09 - Challenge - Create file
- 10 - Solution - Create file
2. Moving Around
- 11 - Navigate using keys - H, J, K, L
- 12 - Words, sentences, and paragraphs
- 13 - Challenge - Find word
- 14 - Solution - Find word
- 15 - Regular expressions
- 16 - Challenge - Search word
- 17 - Solution - Search word
- 18 - Screen movement
- 19 - Challenge - Move screens
- 20 - Solution - Move screens
- 21 - Lines
- 22 - Challenge - Move lines
- 23 - Solution - Move lines
- 24 - Current word
- 25 - Challenge - Find next instance of word
- 26 - Solution - Find next instance of word
3. Changing Text
- 27 - Delete text
- 28 - Challenge - Delete sentence
- 29 - Solution - Delete sentence
- 30 - Copy and paste
- 31 - Challenge - Copy and paste
- 32 - Solution - Copy and paste
- 33 - Change text
- 34 - Challenge - Change text
- 35 - Solution - Change text
- 36 - Visual selection
- 37 - Challenge - Use visual selection
- 38 - Solution - Use visual selection
- 39 - Registers
- 40 - Challenge - Use registers
- 41 - Solution - Use registers
- 42 - Replace text
4. Marks
- 43 - Define and jump to marks
- 44 - Challenge - Define and jump to mark
- 45 - Solution - Define and jump to mark
- 46 - Jump through history
- 47 - Challenge - Jump back
- 48 - Solution - Jump back
- 49 - Move to last change
- 50 - Challenge - Last change
- 51 - Solution - Last change
5. Buffers
- 52 - Windows and buffers
- 53 - Challenge - Buffer
- 54 - Solution - Buffer
- 55 - Edit files
- 56 - Challenge - Edit files
- 57 - Solution - Edit files
- 58 - Move between buffers
- 59 - Challenge - Switch buffer
- 60 - Solution - Switch buffer
- 61 - Read command
- 62 - Challenge - Insert file
- 63 - Solution - Insert file
6. Configuration
- 64 - Configuration files
- 65 - Challenge - Set line numbers
- 66 - Solution - Set line numbers
- 67 - Map keys
- 68 - Challenge - Map key
- 69 - Solution - Map key
- 70 - Abbreviations
- 71 - Challenge - Abbreviate email
- 72 - Solution - Abbreviate email
- 73 - Add commands
- 74 - Challenge - Create command
- 75 - Solution - Create command
- 76 - Various settings
- 77 - Challenge - Edit .vimrc
- 78 - Solution - Edit .vimrc
6. Day-To-Day Vim
- 79 - Start Vim with a command
- 80 - Challenge - Use Vim command
- 81 - Solution - Use Vim command
- 82 - Diff mode
- 83 - Challenge - Diff mode
- 84 - Solution - Diff mode
- 85 - Zip files
- 86 - Challenge - Zip file
- 87 - Solution - Zip file
- 88 - Open files from name
- 89 - Challenge - Open file to line number
- 90 - Solution - Open file to line number
- 91 - External commands
- 92 - Challenge - External command
- 93 - Solution - External command
Conclusion
- 94 - Next steps