PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: tourism industry

vi Editor “Cheat Sheet” - Albany

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. To exit input mode, press the escape (Esc) key. Window motions Input commands (end with Esc) <ctrl>d Scroll down (half a screen). <ctrl>u Scroll up (half a screen). a Append after cursor <ctrl>f Page forward i Insert before cursor <ctrl>b Page backward o Open line below /string Search forward O Open line above ?

VI “CheatSheet ACNS Bulletin ED–03 February 1995 File management commands:w name Write edit buffer to file name:wq Write to file and quit:q! Quit without saving changes ZZ Same as :wq:sh Execute shell commands (<ctrl>d) Window motions <ctrl>d Scroll down (half a screen) <ctrl>u Scroll up (half a screen) <ctrl>f Page forward <ctrl>b Page ...

Loading..

Tags:

  Sheet, Teach, Cheat sheet

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of vi Editor “Cheat Sheet” - Albany

Related search queries