Chapter 5: Command-Line Mode
Chapter Overview
Part I: Modes | Tips 27-35
Ex commands operate on lines, Vim commands operate on characters.
Tips in This Chapter
| Tip | Title | Mastered |
|---|---|---|
27 |
Meet Vim’s Command Line |
[ ] |
28 |
Execute a Command on One or More Consecutive Lines |
[ ] |
29 |
Duplicate or Move Lines Using ':t' and ':m' Commands |
[ ] |
30 |
Run Normal Mode Commands Across a Range |
[ ] |
31 |
Repeat the Last Ex Command |
[ ] |
32 |
Tab-Complete Your Ex Commands |
[ ] |
33 |
Insert the Current Word at the Command Prompt |
[ ] |
34 |
Recall Commands from History |
[ ] |
35 |
Run Commands in the Shell |
[ ] |
Range Symbols
| Symbol | Meaning |
|---|---|
|
Current line |
|
Last line |
|
All lines (same as 1,$) |
|
Visual selection |
|
Virtual line above first |
Commands Learned
| Command | Description | Notes |
|---|---|---|
Practice
Commands I tried while reading:
" (Add commands you practiced)
Questions
Things I want to explore further.
Chapter Complete
-
Read entire chapter
-
Tried all tips
-
Noted key learnings
Date completed: _