Basic vi Commands Michael Davis Phd Student, Atmospheric Science What is vi? vi is a screen-oriented text editor written by Bill Joy in 1976 for an early BSD release In other words, it’s a text editor that uses command line on a Unix operating system Basics about vi Two modes Insert mode Command mode It may appear cumbersome at first but the more you use it the more you’ll find its pretty well designed. Lets get started! Seeing contents of a directory Creating and changing directories Creating files Opening files Closing files Moving files Editing Moving within the file Editing characters, words, and lines Deleting characters, words, and lines Undoing mistakes Joining sentences Movement in the file How to move the screen Searching Quick movements Other Useful Commands Read only Marking files Tips to Help Ask questions Check online Practice