CSCI 338: Fall 2023

Software Engineering

CSCI 338: Fall 2023

Resources > Vim

Useful References

Useful Commands

Start vim

vi my_file.txt

Quit vim

First press the escape key, then press…

1
2
3
:q          # quits
:q!         # quit and discard any edits
:qw         # quits and saves all changes

Edit a file

Delete a line