config-keys.def 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. # IDLE reads several config files to determine user preferences. This
  2. # file is the default config file for idle key binding settings.
  3. # Where multiple keys are specified for an action: if they are separated
  4. # by a space (eg. action=<key1> <key2>) then the keys are alternatives, if
  5. # there is no space (eg. action=<key1><key2>) then the keys comprise a
  6. # single 'emacs style' multi-keystoke binding. The tk event specifier 'Key'
  7. # is used in all cases, for consistency in auto key conflict checking in the
  8. # configuration gui.
  9. [IDLE Classic Windows]
  10. copy=<Control-Key-c> <Control-Key-C>
  11. cut=<Control-Key-x> <Control-Key-X>
  12. paste=<Control-Key-v> <Control-Key-V>
  13. beginning-of-line= <Key-Home>
  14. center-insert=<Control-Key-l> <Control-Key-L>
  15. close-all-windows=<Control-Key-q> <Control-Key-Q>
  16. close-window=<Alt-Key-F4> <Meta-Key-F4>
  17. do-nothing=<Control-Key-F12>
  18. end-of-file=<Control-Key-d> <Control-Key-D>
  19. python-docs=<Key-F1>
  20. python-context-help=<Shift-Key-F1>
  21. history-next=<Alt-Key-n> <Meta-Key-n> <Alt-Key-N> <Meta-Key-N>
  22. history-previous=<Alt-Key-p> <Meta-Key-p> <Alt-Key-P> <Meta-Key-P>
  23. interrupt-execution=<Control-Key-c> <Control-Key-C>
  24. view-restart=<Key-F6>
  25. restart-shell=<Control-Key-F6>
  26. open-class-browser=<Alt-Key-c> <Meta-Key-c> <Alt-Key-C> <Meta-Key-C>
  27. open-module=<Alt-Key-m> <Meta-Key-m> <Alt-Key-M> <Meta-Key-M>
  28. open-new-window=<Control-Key-n> <Control-Key-N>
  29. open-window-from-file=<Control-Key-o> <Control-Key-O>
  30. plain-newline-and-indent=<Control-Key-j> <Control-Key-J>
  31. print-window=<Control-Key-p> <Control-Key-P>
  32. redo=<Control-Shift-Key-Z> <Control-Shift-Key-z>
  33. remove-selection=<Key-Escape>
  34. save-copy-of-window-as-file=<Alt-Shift-Key-S> <Alt-Shift-Key-s>
  35. save-window-as-file=<Control-Shift-Key-S> <Control-Shift-Key-s>
  36. save-window=<Control-Key-s> <Control-Key-S>
  37. select-all=<Control-Key-a> <Control-Key-A>
  38. toggle-auto-coloring=<Control-Key-slash>
  39. undo=<Control-Key-z> <Control-Key-Z>
  40. find=<Control-Key-f> <Control-Key-F>
  41. find-again=<Control-Key-g> <Key-F3> <Control-Key-G>
  42. find-in-files=<Alt-Key-F3> <Meta-Key-F3>
  43. find-selection=<Control-Key-F3>
  44. replace=<Control-Key-h> <Control-Key-H>
  45. goto-line=<Alt-Key-g> <Meta-Key-g> <Alt-Key-G> <Meta-Key-G>
  46. smart-backspace=<Key-BackSpace>
  47. newline-and-indent=<Key-Return> <Key-KP_Enter>
  48. smart-indent=<Key-Tab>
  49. indent-region=<Control-Key-bracketright>
  50. dedent-region=<Control-Key-bracketleft>
  51. comment-region=<Alt-Key-3> <Meta-Key-3>
  52. uncomment-region=<Alt-Key-4> <Meta-Key-4>
  53. tabify-region=<Alt-Key-5> <Meta-Key-5>
  54. untabify-region=<Alt-Key-6> <Meta-Key-6>
  55. toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T> <Meta-Key-T>
  56. change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> <Meta-Key-U>
  57. del-word-left=<Control-Key-BackSpace>
  58. del-word-right=<Control-Key-Delete>
  59. [IDLE Classic Unix]
  60. copy=<Alt-Key-w> <Meta-Key-w>
  61. cut=<Control-Key-w>
  62. paste=<Control-Key-y>
  63. beginning-of-line=<Control-Key-a> <Key-Home>
  64. center-insert=<Control-Key-l>
  65. close-all-windows=<Control-Key-x><Control-Key-c>
  66. close-window=<Control-Key-x><Control-Key-0>
  67. do-nothing=<Control-Key-x>
  68. end-of-file=<Control-Key-d>
  69. history-next=<Alt-Key-n> <Meta-Key-n>
  70. history-previous=<Alt-Key-p> <Meta-Key-p>
  71. interrupt-execution=<Control-Key-c>
  72. view-restart=<Key-F6>
  73. restart-shell=<Control-Key-F6>
  74. open-class-browser=<Control-Key-x><Control-Key-b>
  75. open-module=<Control-Key-x><Control-Key-m>
  76. open-new-window=<Control-Key-x><Control-Key-n>
  77. open-window-from-file=<Control-Key-x><Control-Key-f>
  78. plain-newline-and-indent=<Control-Key-j>
  79. print-window=<Control-x><Control-Key-p>
  80. python-docs=<Control-Key-h>
  81. python-context-help=<Control-Shift-Key-H>
  82. redo=<Alt-Key-z> <Meta-Key-z>
  83. remove-selection=<Key-Escape>
  84. save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
  85. save-window-as-file=<Control-Key-x><Control-Key-w>
  86. save-window=<Control-Key-x><Control-Key-s>
  87. select-all=<Alt-Key-a> <Meta-Key-a>
  88. toggle-auto-coloring=<Control-Key-slash>
  89. undo=<Control-Key-z>
  90. find=<Control-Key-u><Control-Key-u><Control-Key-s>
  91. find-again=<Control-Key-u><Control-Key-s>
  92. find-in-files=<Alt-Key-s> <Meta-Key-s>
  93. find-selection=<Control-Key-s>
  94. replace=<Control-Key-r>
  95. goto-line=<Alt-Key-g> <Meta-Key-g>
  96. smart-backspace=<Key-BackSpace>
  97. newline-and-indent=<Key-Return> <Key-KP_Enter>
  98. smart-indent=<Key-Tab>
  99. indent-region=<Control-Key-bracketright>
  100. dedent-region=<Control-Key-bracketleft>
  101. comment-region=<Alt-Key-3>
  102. uncomment-region=<Alt-Key-4>
  103. tabify-region=<Alt-Key-5>
  104. untabify-region=<Alt-Key-6>
  105. toggle-tabs=<Alt-Key-t>
  106. change-indentwidth=<Alt-Key-u>
  107. del-word-left=<Alt-Key-BackSpace>
  108. del-word-right=<Alt-Key-d>
  109. [IDLE Classic Mac]
  110. copy=<Command-Key-c>
  111. cut=<Command-Key-x>
  112. paste=<Command-Key-v>
  113. beginning-of-line= <Key-Home>
  114. center-insert=<Control-Key-l>
  115. close-all-windows=<Command-Key-q>
  116. close-window=<Command-Key-w>
  117. do-nothing=<Control-Key-F12>
  118. end-of-file=<Control-Key-d>
  119. python-docs=<Key-F1>
  120. python-context-help=<Shift-Key-F1>
  121. history-next=<Control-Key-n>
  122. history-previous=<Control-Key-p>
  123. interrupt-execution=<Control-Key-c>
  124. view-restart=<Key-F6>
  125. restart-shell=<Control-Key-F6>
  126. open-class-browser=<Command-Key-b>
  127. open-module=<Command-Key-m>
  128. open-new-window=<Command-Key-n>
  129. open-window-from-file=<Command-Key-o>
  130. plain-newline-and-indent=<Control-Key-j>
  131. print-window=<Command-Key-p>
  132. redo=<Shift-Command-Key-Z>
  133. remove-selection=<Key-Escape>
  134. save-window-as-file=<Shift-Command-Key-S>
  135. save-window=<Command-Key-s>
  136. save-copy-of-window-as-file=<Option-Command-Key-s>
  137. select-all=<Command-Key-a>
  138. toggle-auto-coloring=<Control-Key-slash>
  139. undo=<Command-Key-z>
  140. find=<Command-Key-f>
  141. find-again=<Command-Key-g> <Key-F3>
  142. find-in-files=<Command-Key-F3>
  143. find-selection=<Shift-Command-Key-F3>
  144. replace=<Command-Key-r>
  145. goto-line=<Command-Key-j>
  146. smart-backspace=<Key-BackSpace>
  147. newline-and-indent=<Key-Return> <Key-KP_Enter>
  148. smart-indent=<Key-Tab>
  149. indent-region=<Command-Key-bracketright>
  150. dedent-region=<Command-Key-bracketleft>
  151. comment-region=<Control-Key-3>
  152. uncomment-region=<Control-Key-4>
  153. tabify-region=<Control-Key-5>
  154. untabify-region=<Control-Key-6>
  155. toggle-tabs=<Control-Key-t>
  156. change-indentwidth=<Control-Key-u>
  157. del-word-left=<Control-Key-BackSpace>
  158. del-word-right=<Control-Key-Delete>
  159. [IDLE Classic OSX]
  160. toggle-tabs = <Control-Key-t>
  161. interrupt-execution = <Control-Key-c>
  162. untabify-region = <Control-Key-6>
  163. remove-selection = <Key-Escape>
  164. print-window = <Command-Key-p>
  165. replace = <Command-Key-r>
  166. goto-line = <Command-Key-j>
  167. plain-newline-and-indent = <Control-Key-j>
  168. history-previous = <Control-Key-p>
  169. beginning-of-line = <Control-Key-Left>
  170. end-of-line = <Control-Key-Right>
  171. comment-region = <Control-Key-3>
  172. redo = <Shift-Command-Key-Z>
  173. close-window = <Command-Key-w>
  174. restart-shell = <Control-Key-F6>
  175. save-window-as-file = <Shift-Command-Key-S>
  176. close-all-windows = <Command-Key-q>
  177. view-restart = <Key-F6>
  178. tabify-region = <Control-Key-5>
  179. find-again = <Command-Key-g> <Key-F3>
  180. find = <Command-Key-f>
  181. toggle-auto-coloring = <Control-Key-slash>
  182. select-all = <Command-Key-a>
  183. smart-backspace = <Key-BackSpace>
  184. change-indentwidth = <Control-Key-u>
  185. do-nothing = <Control-Key-F12>
  186. smart-indent = <Key-Tab>
  187. center-insert = <Control-Key-l>
  188. history-next = <Control-Key-n>
  189. del-word-right = <Option-Key-Delete>
  190. undo = <Command-Key-z>
  191. save-window = <Command-Key-s>
  192. uncomment-region = <Control-Key-4>
  193. cut = <Command-Key-x>
  194. find-in-files = <Command-Key-F3>
  195. dedent-region = <Command-Key-bracketleft>
  196. copy = <Command-Key-c>
  197. paste = <Command-Key-v>
  198. indent-region = <Command-Key-bracketright>
  199. del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
  200. newline-and-indent = <Key-Return> <Key-KP_Enter>
  201. end-of-file = <Control-Key-d>
  202. open-class-browser = <Command-Key-b>
  203. open-new-window = <Command-Key-n>
  204. open-module = <Command-Key-m>
  205. find-selection = <Shift-Command-Key-F3>
  206. python-context-help = <Shift-Key-F1>
  207. save-copy-of-window-as-file = <Option-Command-Key-s>
  208. open-window-from-file = <Command-Key-o>
  209. python-docs = <Key-F1>