Title: Vi Commands - Insert (a A i I o O)
Course: CIS 121: Linux/UNIX I: Fundamentals ~ For IGNITE Review > Section: Learning Modules

The difference between a A i I o and O is the location where you can start typing. a will append after the current character and A will append at the end of the line. i will insert before the current character and I will insert at the beginning of the line. o will put you in a new line after the current line and O will put you in a new line before the current line. (Source: Linux Fundamentals, Cobbaut, 147)

- i – Enter Insert Mode at cursor position
- a – Enter Insert Mode after cursor position
- I – Enter Insert Mode at Beginning of Line (BOL)
- A – Enter Insert Mode at End of Line (EOL)
- o – Enter Insert Mode on NEW line below current line
- O – Enter Insert Mode on New line above current line

Vi Command Illustration

Rollover a command button to see how that command would work. Click the command button to see an example.