Learning VIM
2024-12-05
Table of Contents
- Installing VIM
- Understanding vim Modes
- 1. Normal Mode
- Features in Normal Mode:
- Exiting Normal Mode:
- 2. Insert Mode
- i vs. I
- Example:
- a vs. A
- Example:
- o vs. O
- Example:
- Why Capitalization Matters
- Features in Insert Mode:
- Exiting Insert Mode:
- 3. Visual Mode
- Features in Visual Mode:
- Exiting Visual Mode:
- 4. Command-Line Mode
- Examples of Commands:
- Exiting Command-Line Mode:
- Combining Multiple Commands
- Commands Cheat Sheet
- Using Command Combinations
- Examples of Command Combinations:
- Combining Commands with Count Prefixes:
- The :set Command
- 1. Enable Line Numbers
- 2. Highlight Search Results
- 3. Auto-Indentation
- 4. Tab and Space Settings
- 5. Line Wrapping
- 6. Search Case Sensitivity
- 7. Auto-Completion
- 8. Backup and Swap Files
- 9. Status Line Customization
- 10. Show Line and Column Number
- 11. Mouse Support
- 12. Vim Colorscheme
- 13. Line Break Characters
- .vimrc File
- Basic Structure
- Explanation of Comments:
- Waypoints in Vim
- Setting and Using Marks:
- Example:
- The :reg Command
- Viewing Registers
- Using Specific Registers
- Types of Registers:
- Examples: