Practical Vim
Download the files to practice here:
- https://pragprog.com/titles/dnvim2/practical-vim-second-edition/
- https://media.pragprog.com/titles/dnvim2/code/dnvim2-code.zip
Collecting useful vim tips...
For better practice, start vim without any configuration:
vim -u NONE -N
- The Vim Way
- Normal Mode
- Insert Mode
- Vim Tip 13, 14 and 15 - insert mode tips
- Vim Tip 16 - quick calculations
- Vim Tip 17 and 18 - insert unusual characters (not useful for me)
- Vim Tip 19 - replace mode
- Visual Mode
- Command-Line Mode
- Open Files and Save Them to Disk
- Navigate Inside Files with Motions
- Navigate Between Files with Jumps
- Copy and Paste
- Macros
- Matching Patterns and Literals
- Search
- Substitution
- Global Commands
- 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