home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / lyx21041.zip / XFree86 / lib / X11 / lyx / bind / cua.bind < prev    next >
Text File  |  1998-10-26  |  4KB  |  149 lines

  1. # This file is part of
  2. # ==================================================================
  3. #
  4. #                  LyX, the High Level Word Processor
  5. #         Copyright (C) 1995-1997 Asger Alstrup & The LyX Team
  6. #
  7. # ==================================================================
  8.  
  9. #
  10. # This is the CUA (Common User Access) flavour bind file, based on 
  11. # bindings found in the Windows, Mac and Motif world.
  12. #
  13. #
  14. # DO NOT CHANGE THIS DEFAULT BINDING FILE! It will be replaced
  15. # with every new install of LyX and your changes will be lost. 
  16. # Instead, customize a copy of this file placed in 
  17. # ~/.lyx/bind/cua.bind
  18. #
  19. # Happy tuning!
  20.  
  21. # Free bindings:
  22.  
  23. #\bind "C-a"
  24. #\bind "C-h"
  25. #\bind "C-j"
  26. #\bind "C-y"
  27.  
  28. ## Documents menu
  29. #
  30. # These are now defined in cua or emacs bind files so their "standard"
  31. # bindings are available. (eg M-d "word-delete-forward" in emacs) ARRae
  32.  
  33. \bind "M-d p"            "buffer-previous"
  34. \bind "M-d space"        "menu-open Documents"
  35.  
  36. ###
  37.  
  38. \bind "C-n"            "buffer-new"
  39. \bind "C-S-N"            "buffer-new-template"
  40. \bind "C-o"            "buffer-open"
  41. \bind "C-r"            "buffer-reload"
  42. \bind "C-w"            "buffer-close"
  43. \bind "C-s"            "buffer-write"
  44. \bind "C-S-S"            "buffer-write-as"
  45. \bind "C-p"            "buffer-print" 
  46. \bind "C-d"            "buffer-view"        # 'd' for dvi
  47. \bind "C-t"            "buffer-view-ps"
  48. \bind "C-S-D"            "buffer-typeset"    # 'd' for dvi
  49. \bind "C-S-T"            "buffer-typeset-ps"
  50. \bind "C-q"            "lyx-quit"
  51.  
  52. \bind "C-b"            "font-bold"
  53. \bind "C-e"            "font-emph"
  54. \bind "C-k"            "font-noun"        # 'k' for capitals
  55. \bind "C-l"            "tex-mode"        # 'l' for LaTeX
  56. \bind "C-u"            "font-underline"
  57. \bind "C-S-P"            "font-code"        # 'P' for program
  58.  
  59. \bind "C-m"            "math-mode"
  60. \bind "C-S-M"            "math-display"
  61.  
  62. \bind "C-f"            "find-replace"
  63. \bind "C-g"            "error-next"
  64. \bind "C-i"            "open-stuff"        # 'i' for Inset
  65.  
  66. \bind "C-c"            "copy"
  67. \bind "C-x"            "cut"
  68. \bind "C-v"            "paste"
  69.  
  70. \bind "C-S-C"            "layout-copy"
  71. \bind "C-S-V"            "layout-paste"
  72.  
  73. \bind "C-z"            "undo"
  74. \bind "C-S-Z"            "redo"
  75.  
  76. \bind "S-C-quotedbl"        "quote-insert"
  77. \bind "C-minus"            "hyphenation-point-insert"
  78. \bind "M-S-Right"        "depth-increment"
  79. \bind "M-S-Left"        "depth-decrement"
  80. \bind "C-S-space"        "protected-space-insert"
  81.  
  82. #bind "F1"            "help"            # Not yet implemented!
  83. #bind "C-F1"            "help-context"        # Not yet implemented!
  84. \bind "F2"            "buffer-write"
  85. \bind "F3"            "buffer-open"
  86. \bind "C-F4"            "buffer-close"
  87. \bind "F5"            "screen-recenter"
  88. \bind "M-F4"            "lyx-quit"
  89. \bind "F7"            "spellchecker"
  90.  
  91. \bind "M-x"            "command-execute"
  92.  
  93. #
  94. # Motion group
  95. #
  96.  
  97. \bind "C-Right"            "word-forward"
  98. \bind "C-Left"            "word-backward"
  99. \bind "C-Up"            "paragraph-up"
  100. \bind "C-Down"            "paragraph-down"
  101. \bind "C-Home"            "buffer-begin"
  102. \bind "C-End"            "buffer-end"
  103.  
  104. \bind "C-~S-greater"        "reference-goto"
  105. \bind "C-~S-less"         "reference-back"
  106.  
  107.  
  108. #
  109. # Motion + select group
  110. #
  111.  
  112. \bind "S-Right"            "forward-select"
  113. \bind "S-Left"            "backward-select"
  114. \bind "S-Up"            "up-select"
  115. \bind "S-Down"            "down-select"
  116. \bind "S-C-Right"        "word-forward-select"
  117. \bind "S-C-Left"        "word-backward-select"
  118. \bind "S-C-Up"            "paragraph-up-select"
  119. \bind "S-C-Down"        "paragraph-down-select"
  120. \bind "S-Home"            "line-begin-select"
  121. \bind "S-End"            "line-end-select"               
  122. \bind "S-Prior"            "screen-up-select"
  123. \bind "S-Next"            "screen-down-select"
  124. \bind "S-C-Home"        "buffer-begin-select"
  125. \bind "S-C-End"            "buffer-end-select"
  126. \bind "C-Insert"        "copy"
  127. \bind "S-Insert"        "paste"
  128. \bind "S-Delete"        "cut"
  129.  
  130. #
  131. # Edit group
  132. #
  133.  
  134. \bind "C-Delete"        "word-delete-forward"
  135. \bind "C-BackSpace"        "word-delete-backward"
  136. \bind "M-Return"        "break-paragraph-keep-layout"
  137. \bind "C-Return"        "break-line"
  138. \bind "C-space"            "protected-space-insert"
  139. \bind "C-period"        "end-of-sentence-period-insert"
  140. \bind "M-period"        "dots-insert"
  141. \bind "Escape"            "cancel"
  142. \bind "F9"            "meta-prefix"
  143.  
  144. # Include menu and math bindings
  145.  
  146. \bind_file menus.bind
  147. \bind_file math.bind
  148.