home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / editors / 2203 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!alcor.Concordia.CA!marak
  3. From: marak@alcor.concordia.ca ( Mike Marak)
  4. Subject: Re: VI Mapping Help
  5. Organization: Concordia University, Montreal, Quebec
  6. References: <1992Sep11.182433.25903@doug.cae.wisc.edu>
  7. Message-ID: <1992Sep12.043650.25188@sol.ctr.columbia.edu>
  8. Sender: nobody@ctr.columbia.edu
  9. Date: Sat, 12 Sep 1992 04:36:50 GMT
  10. X-Posted-From: alcor.concordia.ca
  11. X-Posted-Through: sol.ctr.columbia.edu
  12. Lines: 24
  13.  
  14. In article <1992Sep11.182433.25903@doug.cae.wisc.edu> saunders@luther.che.wisc.edu (Brian E. Saunders) writes:
  15. >I am using remapping commands to do some common tasks in vi in a smaller
  16. >amount of time.  If I place the map commands in the .exrc file, or the
  17. >.login file, these keyboard remappings work when I edit a file in my home
  18. >directory, but somehow they don't show up if I'm working in any
  19.  
  20. One of the guys in the lab here showed us how to do this. Try this in your
  21. .login:
  22.  
  23.     setenv EXINIT 'set wm=o [any other options] | source ~/.exrc'
  24.  
  25. This works for ULTRIX (csh), abd should work for other flavors of unix.
  26.  
  27.  
  28.     Hope this helps
  29.         Mike
  30.  
  31. ******************************************************************
  32. *  Mike Marak            * mike@emc2.concordia.ca *              *
  33. *  Lab Manager           * (514)848-3118          *    SPACE     *
  34. *  EMC Lab               * Room CC-109            *     FOR      *
  35. *  Loyola Campus         * 7141 Sherbrooke St. W. *     RENT     *
  36. *  Concordia University  * Montreal, Canada       *              *
  37. ******************************************************************
  38.