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

[ Up ]
[Prev][Home][Next]
[Author]

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

Find this site useful? Want to give something back?

t a y l o r@l i n u x a v e.n e t

© 1993-2000 Christopher C. Taylor