Inserting Text
After opening a VI session, often you'll want to start editing or adding text.
- a - Append after cursor
- A - Append after end of current line
- i - Insert before cursor
- I - Insert before beginning of current line
- o - Open new line below current line and insert
- O - Open new line above current line and insert
- :r file - Read file specified by file,and insert contents after current line
- :nr file - Read file specified by file, and insert contents after line n
Placed here for easy reference.
Loading comments...