->Title Page
->Vi editor
-->Vi reference
-->Miscellaneous tips
--->Line deletions
--->Switching cases
--->Spell checking
--->Advanced S and R
--->Blank lines
->Mirror sites
->Further reading

[ Up ]

Vi ---> Writing from buffers

To save the contents of the a buffer to filename, type

    :e filename<RETURN>"ap (to edit a new file and put 'a's contents in it)
    :w                     (to save it)
To save a portion of a file to another file you could type

    ma                    (mark text at the top of the region to be saved)
    mb                    (mark text at the bottom of the region to be saved)
    :'a,'b w filename

Site Statistics

t a y l o r@l i n u x b o x.c o m

© 1993-1998 Christopher C. Taylor