Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!bbs!ddsw1!dattier From: dattier@ddsw1.MCS.COM (David W. Tamkin) Newsgroups: comp.editors Subject: Re: vi Alternative Required Summary: a couple answers Message-ID: <1990Dec08.045506.10954@ddsw1.MCS.COM> Date: 8 Dec 90 04:55:06 GMT References: <1616@ukpoit.co.uk> <109752@convex.convex.com> <1005@langtry.cs.utexas.edu> Reply-To: dattier@ddsw1.MCS.COM (David W. Tamkin) Organization: Contributor Account at ddsw1, Wheeling, Illinois Lines: 20 joshi@cs.uiuc.edu (Anil Joshi) wrote in : | Another problem which I have not solved yet is that while I am editing a | file and want to change my function keys, can I run some other .exrc | like file from inside the editor? Of course you can. Use the :so (for "source") command. | I want to do this. I have not yet figured out how I can pass a part of | the file through a filter. I know how to do this for the entire file | though. You can pass a contiguous range of whole lines through a filter with :first,last !filter; first and last do not have to be numbers but can be any legitimate way for to designate a line in an ex command. If the area to be filtered begins or ends in the middle of a line, you can break the line, filter the appropriate section, and then rejoin the parts. David Tamkin Box 7002 Des Plaines IL 60018-7002 708 518 6769 312 693 0591 MCI Mail: 426-1818 GEnie: D.W.TAMKIN CIS: 73720,1570 dattier@ddsw1.mcs.com