Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!cunyvm!maine.bitnet!ia80001 From: IA80001@MAINE.BITNET (George Newell) Newsgroups: comp.editors Subject: RE: .exrc example? Message-ID: <2238IA80001@MAINE> Date: 29 Oct 89 20:49:10 GMT Organization: University of Maine System Lines: 42 Below is a copy of my .exrc file. set showmode # Setting showmode has the editor tell me what input mode I am in. set nomesg # Setting nomesg prevents incoming msgs so I don't get interrupted. # This resets to previous setting when you exit the editor. set hardtabs=4 # Setting hardtabs to 4 means when I hit TAB key, my indentation is 4. set tabstops=4 # Setting tabstops is similar to hardtabs. set report=3 # Setting report=3 means any change of 3 or more lines is reported to me. set autoindent # Setting autoindent means that next line of input indents to same level # as the current line. This is good for structured programming. set readonly # Setting this defaults program mode to Read Only. I can still write to # the file but I must use the :w! command and then :q separately. # This prevents accidentally writing to the file when I didn't want to. set shiftwidth=4 # Setting this tells me how many spaces back I go when doing a backtab. set nowrapscan # Setting this tells editor to stop all searches at the end of the file # instead of wrapping around to the beginning of file. #NOTE: you should delete all # lines as I found my .exrc file wouldn't # work with them included. ******************** George Newell IA80001@MAINE.BITNET ********************