Transcription of vi Editor “Cheat Sheet” - Albany
{{id}} {{{paragraph}}}
VI cheat sheet ACNS Bulletin ED 03. February 1995. vi Editor cheat sheet . Invoking vi: vi filename Format of vi commands: [count][command] (count repeats the effect of the command). Command mode versus input mode File management commands Vi starts in command mode. The positioning commands :w name Write edit buffer to file name operate only while vi is in command mode. You switch vi :wq Write to file and quit to input mode by entering any one of several vi input com- :q! Quit without saving changes mands. (See next section.) Once in input mode, any charac- ZZ Same as :wq ter you type is taken to be text and is added to the file. You :sh Execute shell commands (<ctrl>d). cannot execute any commands until you exit input mode.
VI “Cheat” Sheet ACNS Bulletin ED–03 February 1995 File management commands:w name Write edit buffer to file name:wq Write to file and quit
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Letter to the Editor Worksheet, Proofreading Marks at a Glance, Editor, The Word 2007/2010 Equation Editor, Australian media: Publications, stylist and editor, NIELSEN TITLE EDITOR ONLINE EDITING SERVICE, EDITOR/WRITER GRADING: D1 Reference Number:, EDITOR/WRITER GRADING: D1 Reference Number: 9912623, POSITION CLASSIFICATION FLYSHEET FOR WRITING AND