config-keys.def 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. force-open-completions= <Control-Key-space>
  60. expand-word= <Alt-Key-slash>
  61. force-open-calltip= <Control-Key-backslash>
  62. format-paragraph= <Alt-Key-q>
  63. flash-paren= <Control-Key-0>
  64. run-module= <Key-F5>
  65. run-custom= <Shift-Key-F5>
  66. check-module= <Alt-Key-x>
  67. zoom-height= <Alt-Key-2>
  68. [IDLE Classic Unix]
  69. copy=<Alt-Key-w> <Meta-Key-w>
  70. cut=<Control-Key-w>
  71. paste=<Control-Key-y>
  72. beginning-of-line=<Control-Key-a> <Key-Home>
  73. center-insert=<Control-Key-l>
  74. close-all-windows=<Control-Key-x><Control-Key-c>
  75. close-window=<Control-Key-x><Control-Key-0>
  76. do-nothing=<Control-Key-x>
  77. end-of-file=<Control-Key-d>
  78. history-next=<Alt-Key-n> <Meta-Key-n>
  79. history-previous=<Alt-Key-p> <Meta-Key-p>
  80. interrupt-execution=<Control-Key-c>
  81. view-restart=<Key-F6>
  82. restart-shell=<Control-Key-F6>
  83. open-class-browser=<Control-Key-x><Control-Key-b>
  84. open-module=<Control-Key-x><Control-Key-m>
  85. open-new-window=<Control-Key-x><Control-Key-n>
  86. open-window-from-file=<Control-Key-x><Control-Key-f>
  87. plain-newline-and-indent=<Control-Key-j>
  88. print-window=<Control-x><Control-Key-p>
  89. python-docs=<Control-Key-h>
  90. python-context-help=<Control-Shift-Key-H>
  91. redo=<Alt-Key-z> <Meta-Key-z>
  92. remove-selection=<Key-Escape>
  93. save-copy-of-window-as-file=<Control-Key-x><Control-Key-y>
  94. save-window-as-file=<Control-Key-x><Control-Key-w>
  95. save-window=<Control-Key-x><Control-Key-s>
  96. select-all=<Alt-Key-a> <Meta-Key-a>
  97. toggle-auto-coloring=<Control-Key-slash>
  98. undo=<Control-Key-z>
  99. find=<Control-Key-u><Control-Key-u><Control-Key-s>
  100. find-again=<Control-Key-u><Control-Key-s>
  101. find-in-files=<Alt-Key-s> <Meta-Key-s>
  102. find-selection=<Control-Key-s>
  103. replace=<Control-Key-r>
  104. goto-line=<Alt-Key-g> <Meta-Key-g>
  105. smart-backspace=<Key-BackSpace>
  106. newline-and-indent=<Key-Return> <Key-KP_Enter>
  107. smart-indent=<Key-Tab>
  108. indent-region=<Control-Key-bracketright>
  109. dedent-region=<Control-Key-bracketleft>
  110. comment-region=<Alt-Key-3>
  111. uncomment-region=<Alt-Key-4>
  112. tabify-region=<Alt-Key-5>
  113. untabify-region=<Alt-Key-6>
  114. toggle-tabs=<Alt-Key-t>
  115. change-indentwidth=<Alt-Key-u>
  116. del-word-left=<Alt-Key-BackSpace>
  117. del-word-right=<Alt-Key-d>
  118. force-open-completions= <Control-Key-space>
  119. expand-word= <Alt-Key-slash>
  120. force-open-calltip= <Control-Key-backslash>
  121. format-paragraph= <Alt-Key-q>
  122. flash-paren= <Control-Key-0>
  123. run-module= <Key-F5>
  124. run-custom= <Shift-Key-F5>
  125. check-module= <Alt-Key-x>
  126. zoom-height= <Alt-Key-2>
  127. [IDLE Modern Unix]
  128. copy = <Control-Shift-Key-C> <Control-Key-Insert>
  129. cut = <Control-Key-x> <Shift-Key-Delete>
  130. paste = <Control-Key-v> <Shift-Key-Insert>
  131. beginning-of-line = <Key-Home>
  132. center-insert = <Control-Key-l>
  133. close-all-windows = <Control-Key-q>
  134. close-window = <Control-Key-w> <Control-Shift-Key-W>
  135. do-nothing = <Control-Key-F12>
  136. end-of-file = <Control-Key-d>
  137. history-next = <Alt-Key-n> <Meta-Key-n>
  138. history-previous = <Alt-Key-p> <Meta-Key-p>
  139. interrupt-execution = <Control-Key-c>
  140. view-restart = <Key-F6>
  141. restart-shell = <Control-Key-F6>
  142. open-class-browser = <Control-Key-b>
  143. open-module = <Control-Key-m>
  144. open-new-window = <Control-Key-n>
  145. open-window-from-file = <Control-Key-o>
  146. plain-newline-and-indent = <Control-Key-j>
  147. print-window = <Control-Key-p>
  148. python-context-help = <Shift-Key-F1>
  149. python-docs = <Key-F1>
  150. redo = <Control-Shift-Key-Z>
  151. remove-selection = <Key-Escape>
  152. save-copy-of-window-as-file = <Alt-Shift-Key-S>
  153. save-window-as-file = <Control-Shift-Key-S>
  154. save-window = <Control-Key-s>
  155. select-all = <Control-Key-a>
  156. toggle-auto-coloring = <Control-Key-slash>
  157. undo = <Control-Key-z>
  158. find = <Control-Key-f>
  159. find-again = <Key-F3>
  160. find-in-files = <Control-Shift-Key-f>
  161. find-selection = <Control-Key-h>
  162. replace = <Control-Key-r>
  163. goto-line = <Control-Key-g>
  164. smart-backspace = <Key-BackSpace>
  165. newline-and-indent = <Key-Return> <Key-KP_Enter>
  166. smart-indent = <Key-Tab>
  167. indent-region = <Control-Key-bracketright>
  168. dedent-region = <Control-Key-bracketleft>
  169. comment-region = <Control-Key-d>
  170. uncomment-region = <Control-Shift-Key-D>
  171. tabify-region = <Alt-Key-5>
  172. untabify-region = <Alt-Key-6>
  173. toggle-tabs = <Control-Key-T>
  174. change-indentwidth = <Alt-Key-u>
  175. del-word-left = <Control-Key-BackSpace>
  176. del-word-right = <Control-Key-Delete>
  177. force-open-completions= <Control-Key-space>
  178. expand-word= <Alt-Key-slash>
  179. force-open-calltip= <Control-Key-backslash>
  180. format-paragraph= <Alt-Key-q>
  181. flash-paren= <Control-Key-0>
  182. run-module= <Key-F5>
  183. run-custom= <Shift-Key-F5>
  184. check-module= <Alt-Key-x>
  185. zoom-height= <Alt-Key-2>
  186. [IDLE Classic Mac]
  187. copy=<Command-Key-c>
  188. cut=<Command-Key-x>
  189. paste=<Command-Key-v>
  190. beginning-of-line= <Key-Home>
  191. center-insert=<Control-Key-l>
  192. close-all-windows=<Command-Key-q>
  193. close-window=<Command-Key-w>
  194. do-nothing=<Control-Key-F12>
  195. end-of-file=<Control-Key-d>
  196. python-docs=<Key-F1>
  197. python-context-help=<Shift-Key-F1>
  198. history-next=<Control-Key-n>
  199. history-previous=<Control-Key-p>
  200. interrupt-execution=<Control-Key-c>
  201. view-restart=<Key-F6>
  202. restart-shell=<Control-Key-F6>
  203. open-class-browser=<Command-Key-b>
  204. open-module=<Command-Key-m>
  205. open-new-window=<Command-Key-n>
  206. open-window-from-file=<Command-Key-o>
  207. plain-newline-and-indent=<Control-Key-j>
  208. print-window=<Command-Key-p>
  209. redo=<Shift-Command-Key-Z>
  210. remove-selection=<Key-Escape>
  211. save-window-as-file=<Shift-Command-Key-S>
  212. save-window=<Command-Key-s>
  213. save-copy-of-window-as-file=<Option-Command-Key-s>
  214. select-all=<Command-Key-a>
  215. toggle-auto-coloring=<Control-Key-slash>
  216. undo=<Command-Key-z>
  217. find=<Command-Key-f>
  218. find-again=<Command-Key-g> <Key-F3>
  219. find-in-files=<Command-Key-F3>
  220. find-selection=<Shift-Command-Key-F3>
  221. replace=<Command-Key-r>
  222. goto-line=<Command-Key-j>
  223. smart-backspace=<Key-BackSpace>
  224. newline-and-indent=<Key-Return> <Key-KP_Enter>
  225. smart-indent=<Key-Tab>
  226. indent-region=<Command-Key-bracketright>
  227. dedent-region=<Command-Key-bracketleft>
  228. comment-region=<Control-Key-3>
  229. uncomment-region=<Control-Key-4>
  230. tabify-region=<Control-Key-5>
  231. untabify-region=<Control-Key-6>
  232. toggle-tabs=<Control-Key-t>
  233. change-indentwidth=<Control-Key-u>
  234. del-word-left=<Control-Key-BackSpace>
  235. del-word-right=<Control-Key-Delete>
  236. force-open-completions= <Control-Key-space>
  237. expand-word= <Option-Key-slash>
  238. force-open-calltip= <Control-Key-backslash>
  239. format-paragraph= <Option-Key-q>
  240. flash-paren= <Control-Key-0>
  241. run-module= <Key-F5>
  242. run-custom= <Shift-Key-F5>
  243. check-module= <Option-Key-x>
  244. zoom-height= <Option-Key-0>
  245. [IDLE Classic OSX]
  246. toggle-tabs = <Control-Key-t>
  247. interrupt-execution = <Control-Key-c>
  248. untabify-region = <Control-Key-6>
  249. remove-selection = <Key-Escape>
  250. print-window = <Command-Key-p>
  251. replace = <Command-Key-r>
  252. goto-line = <Command-Key-j>
  253. plain-newline-and-indent = <Control-Key-j>
  254. history-previous = <Control-Key-p>
  255. beginning-of-line = <Control-Key-Left>
  256. end-of-line = <Control-Key-Right>
  257. comment-region = <Control-Key-3>
  258. redo = <Shift-Command-Key-Z>
  259. close-window = <Command-Key-w>
  260. restart-shell = <Control-Key-F6>
  261. save-window-as-file = <Shift-Command-Key-S>
  262. close-all-windows = <Command-Key-q>
  263. view-restart = <Key-F6>
  264. tabify-region = <Control-Key-5>
  265. find-again = <Command-Key-g> <Key-F3>
  266. find = <Command-Key-f>
  267. toggle-auto-coloring = <Control-Key-slash>
  268. select-all = <Command-Key-a>
  269. smart-backspace = <Key-BackSpace>
  270. change-indentwidth = <Control-Key-u>
  271. do-nothing = <Control-Key-F12>
  272. smart-indent = <Key-Tab>
  273. center-insert = <Control-Key-l>
  274. history-next = <Control-Key-n>
  275. del-word-right = <Option-Key-Delete>
  276. undo = <Command-Key-z>
  277. save-window = <Command-Key-s>
  278. uncomment-region = <Control-Key-4>
  279. cut = <Command-Key-x>
  280. find-in-files = <Command-Key-F3>
  281. dedent-region = <Command-Key-bracketleft>
  282. copy = <Command-Key-c>
  283. paste = <Command-Key-v>
  284. indent-region = <Command-Key-bracketright>
  285. del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
  286. newline-and-indent = <Key-Return> <Key-KP_Enter>
  287. end-of-file = <Control-Key-d>
  288. open-class-browser = <Command-Key-b>
  289. open-new-window = <Command-Key-n>
  290. open-module = <Command-Key-m>
  291. find-selection = <Shift-Command-Key-F3>
  292. python-context-help = <Shift-Key-F1>
  293. save-copy-of-window-as-file = <Option-Command-Key-s>
  294. open-window-from-file = <Command-Key-o>
  295. python-docs = <Key-F1>
  296. force-open-completions= <Control-Key-space>
  297. expand-word= <Option-Key-slash>
  298. force-open-calltip= <Control-Key-backslash>
  299. format-paragraph= <Option-Key-q>
  300. flash-paren= <Control-Key-0>
  301. run-module= <Key-F5>
  302. run-custom= <Shift-Key-F5>
  303. check-module= <Option-Key-x>
  304. zoom-height= <Option-Key-0>