home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / apps / 1794 < prev    next >
Encoding:
Text File  |  1992-09-01  |  2.5 KB  |  80 lines

  1. Newsgroups: comp.sys.sun.apps
  2. Path: sparky!uunet!munnari.oz.au!manuel!csis!regulus!gjw
  3. From: gjw@csis.dit.csiro.au (Graham Williams)
  4. Subject: Re: textedit keybindings
  5. Message-ID: <1992Sep2.000931.695@csis.dit.csiro.au>
  6. Sender: news@csis.dit.csiro.au
  7. Nntp-Posting-Host: regulus
  8. Reply-To: gjw@csis.dit.csiro.au
  9. Organization: Spatial Information Systems, CSIRO, Canberra, Australia
  10. References: <mlg.715367559@volvo>
  11. Date: Wed, 2 Sep 1992 00:09:31 GMT
  12. Lines: 66
  13.  
  14. In article 715367559@volvo, mlg@siemens.com. (Michael Greenberg) writes:
  15.  
  16. >I have been unable to find a list of the keybindings in textedit.
  17. >Does anyone have the list or know where it can be found (I've searched
  18. >through the docs with no luck).  Also, can these bindings be
  19. >customized?
  20.  
  21. Below is what I managed to track down.  Place into
  22. .Xedfaults or load into xrdb.
  23.  
  24.  
  25. /*\
  26. Refer to the file xview3/lib/libxview/server/svr_kmdata.h.  If you want
  27. to use a binding already in use, be sure to undefine the default
  28. binding first.  For example, I map M-d to delete next word, but the
  29. default for M-d is match delimter.  So set match delimiter to NULL.
  30. When searching, make a selection first.
  31.  
  32. Some mappings to simulate emacs:
  33.  
  34.     M-d    Delete next word
  35.     M-f    Forward word
  36.     M-w    Copy
  37.     M-BS    Delete next word
  38.     M-Del    Delete previous word
  39.     C-k    Kill to end of line
  40.     C-r    Search backwards
  41.     C-s    Search forwards
  42.     C-y    Paste
  43.  
  44. Other default mappings:
  45.  
  46.     C-S-.    Forward word
  47.     C-/    Forward word
  48.     C-,    Backward word
  49.     C-S-w    Delete next word
  50.     M-S-f    Search backwards
  51.     S-Find    Search backwards
  52.     Find    Search forwards
  53.     
  54.  
  55. Other mappings:
  56.  
  57.     BS    Delete, not C-d as then in cmdtool I can't use it as EOF
  58.  
  59. \*/
  60.  
  61. OpenWindows.KeyboardCommand.Copy:           w+Meta,c+Meta,L6
  62. OpenWindows.KeyboardCommand.Cut:               w+Ctrl,x+Meta,L10
  63. OpenWindows.KeyboardCommand.EraseCharForward:    BackSpace
  64. OpenWindows.KeyboardCommand.EraseLineEnd:    k+Ctrl
  65. OpenWindows.KeyboardCommand.EraseWordForward:    d+Meta,W+Ctrl,BackSpace+Meta
  66. OpenWindows.KeyboardCommand.EraseWordBackward:    Delete+Meta
  67. OpenWindows.KeyboardCommand.FindBackward:    r+Ctrl,F+Meta,L9+Shift
  68. OpenWindows.KeyboardCommand.FindForward:    s+Ctrl,L9
  69. OpenWindows.KeyboardCommand.GoWordForward:    f+Meta,slash+Ctrl,greater+Ctrl
  70. OpenWindows.KeyboardCommand.MatchDelimiter:        
  71. OpenWindows.KeyboardCommand.Paste:          y+Ctrl,L8
  72.  
  73.  
  74. ---
  75. Graham.Williams@csis.dit.csiro.au           ,--_|\   Tel: +61 6 275 0963
  76. Spatial Information Systems, CSIRO-DIT     /      \  Fax: +61 6 257 1052
  77. Australian National University, Canberra   \_.--_*/  GPO Box 664 ACT 2601
  78.                                                  v
  79.  
  80.