Practical Vim
- The Vim Way
-
Part-I: Modes
- Normal Mode
-
Insert Mode
- Tip 13: Make Corrections Instantly from Insert Mode
- Tip 14: Get Back to Normal Mode
- Tip 15: Paste From a Register Without Leaving Insert Mode
- Tip 16: Do Back-of-the-Envelope Calculations in Place
- Tip 17: Insert Unusual Characters by Character Code
- Tip 18: Insert Unusual Characters by Digraph
- Tip 19: Overwrite Existing Text with Replace Mode
- Visual Mode
-
Command-Line Mode
- Tip 27: Meet Vim's Command Line
- Tip 28: Execute a Command on One or More Consecutive Lines
- Tip 29: Duplicate or Move Lines Using :t and :m Commnads
- Tip 30: Run Normal Mode Commands Across a Range
- Tip 31: Repeat the Last Ex Command
- Tip 32: Tab-Complete Your Ex Commands
- Tip 33: Insert the Current Word at the Command Prompt
- Tip 34: Recall Commands from History
- Tip 35: Run Command in the Shell
-
Part-II: Files
- Manage Multiple Files
- Open Files and Save Them to Disk
-
Part-III: Getting Around Faster
-
Navigate Inside Files with Motions
- Tip 46: Keep Your Fingers on the Home Row
- Tip 47: Distinguish Between Real Lines and Display Lines
- Tip 48: Move Word-Wise
- Tip 49: Find by Character
- Tip 50: Search to Navigate
- Tip 51: Trace Your Selection with Precision Text Objects
- Tip 52: Delete Around, or Change Inside
- Tip 53: Mark Your Place and Snap Back to It
- Tip 54: Jump Between Matching Parentheses
- Navigate Between Files with Jumps
-
Navigate Inside Files with Motions
-
Part-IV: Registers
- Copy and Paste
-
Macros
- Tip 64: Record and Execute a Macro
- Tip 65: Notmalize, Strike, Abort
- Tip 66: Play Back with a Count
- Tip 67: Repeart a Change on Contiguous Lines
- Tip 68: Append Commands to a Macro
- Tip 69: Act Upon a Collection of Files
- Tip 70: Evaluate an Iteractor to Number Items in a List
- Tip 71: Edit the Contents of a Macro
-
Part-V: Patterns
-
Matching Patterns and Literals
- Tip 72: Tune the Case Sensitivity of Search Patterns
- Tip 73: Use the v Pattern Switch for Regex Search
- Tip 74: Use the V Literal Switch for Verbatim Search
- Tip 75: Use Parentheses to Capture Submatches
- Tip 76: Stake the Boundaries of a Word
- Tip 77: Stake the Boundaries of a Match
- Tip 78: Escape Problem Characters
-
Search
- Tip 79: Meet the Search Command
- Tip 80: Highlight Search Matches
- Tip 81: Preview the First Match Before Execution
- Tip 82: Count the Matches for the Current Pattern
- Tip 83: Offset the Cursor to the End of a Search Match
- Tip 84: Operate on a Complete Search Match
- Tip 85: Create Complex Patterns by Iterating upon Search History
- Tip 86: Search for the Current Visual Selection
-
Substitution
- Tip 87: Meet the Substitute Command
- Tip 88: Find and Replace Every Match in a File
- Tip 89: Eyeball Each Substitution
- Tip 90: Reuse the Last Search Pattern
- Tip 91: Replace with the Contents of a Register
- Tip 92: Repeat the Previous Substitute Command
- Tip 93: Rearrange CSV Fields Using Submatches
- Tip 94: Perform Arithmetic on the Replacement
- Tip 95: Swap Two or More Words
- Tip 96: Find and Replace Across Multiple Files
- Global Commands
-
Matching Patterns and Literals
-
Part-VI: Tools
- Index and Navigate Source Code with ctags
- Compile Code and Navigate Errors with the Quickfix List
- Search Project-Wide with grep, vimgrep, and Others
- Dial X for Autocompletion
- Find and Fix Typos with Vim's Spell Checker