vi - viSUAL Bill Joy s not intuitive s not WYSIWYG s for...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
vi Intro 02/23/98 1 viSUAL Bill Joy not intuitive not WYSIWYG from ex line editor
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
vi Intro 02/23/98 1 basics vi myfile starts in command mode a append after cursor i insert before cursor <esc> places in command mode : before major commands :q quits if no change {:q!} :w writes <saves> :wq saves and quits :wq! When –R option
Background image of page 2
vi Intro 02/23/98 1 basics2 must make own backups :w myfile.bak saving parts of file : first_line, last_linew newfilename :200,$w newpart <200 to end> :50,$w>>longfile <append to existing file> :r otherfile reads in otherfile
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
vi Intro 02/23/98 1 move 1 CHAR h j k l {L} h one space left j one space down k one space up l one space right <note all in command mode> When the arrow keys not availble
Background image of page 4
vi Intro 02/23/98 1 move WORD w beg of next word W same ignore punctuation e E end of next word b B backward to beg of previous word
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/23/2011 for the course CS 101 taught by Professor Yeas during the Spring '11 term at UABC MX.

Page1 / 17

vi - viSUAL Bill Joy s not intuitive s not WYSIWYG s for...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online