Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 1 | # IDLE reads several config files to determine user preferences. This |
| 2 | # file is the default config file for idle key binding settings. |
Steven M. Gava | 17d0154 | 2001-12-03 00:37:28 +0000 | [diff] [blame] | 3 | # Where multiple keys are specified for an action: if they are separated |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 4 | # by a space (eg. action=<key1> <key2>) then the keys are alternatives, if |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 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. |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 9 | |
Steven M. Gava | c597640 | 2002-01-04 03:06:08 +0000 | [diff] [blame] | 10 | [IDLE Classic Windows] |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 11 | copy=<Control-Key-c> <Control-Key-C> |
| 12 | cut=<Control-Key-x> <Control-Key-X> |
| 13 | paste=<Control-Key-v> <Control-Key-V> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 14 | beginning-of-line= <Key-Home> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 15 | center-insert=<Control-Key-l> <Control-Key-L> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 16 | close-all-windows=<Control-Key-q> |
Kurt B. Kaiser | 9fd0799 | 2003-01-16 21:40:21 +0000 | [diff] [blame] | 17 | close-window=<Alt-Key-F4> <Meta-Key-F4> |
Kurt B. Kaiser | 84f4803 | 2002-09-26 22:13:22 +0000 | [diff] [blame] | 18 | do-nothing=<Control-Key-F12> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 19 | end-of-file=<Control-Key-d> <Control-Key-D> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 20 | python-docs=<Key-F1> |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 21 | python-context-help=<Shift-Key-F1> |
Kurt B. Kaiser | 9fd0799 | 2003-01-16 21:40:21 +0000 | [diff] [blame] | 22 | history-next=<Alt-Key-n> <Meta-Key-n> |
| 23 | history-previous=<Alt-Key-p> <Meta-Key-p> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 24 | interrupt-execution=<Control-Key-c> <Control-Key-C> |
Kurt B. Kaiser | 1061e72 | 2003-01-04 01:43:53 +0000 | [diff] [blame] | 25 | view-restart=<Key-F6> |
Kurt B. Kaiser | 4cc5ef5 | 2003-01-22 00:23:23 +0000 | [diff] [blame] | 26 | restart-shell=<Control-Key-F6> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 27 | open-class-browser=<Alt-Key-c> <Meta-Key-c> <Alt-Key-C> |
| 28 | open-module=<Alt-Key-m> <Meta-Key-m> <Alt-Key-M> |
| 29 | open-new-window=<Control-Key-n> <Control-Key-N> |
| 30 | open-window-from-file=<Control-Key-o> <Control-Key-O> |
| 31 | plain-newline-and-indent=<Control-Key-j> <Control-Key-J> |
| 32 | print-window=<Control-Key-p> <Control-Key-P> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 33 | redo=<Control-Shift-Key-Z> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 34 | remove-selection=<Key-Escape> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 35 | save-copy-of-window-as-file=<Alt-Shift-Key-S> |
| 36 | save-window-as-file=<Control-Shift-Key-S> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 37 | save-window=<Control-Key-s> |
Steven M. Gava | 7981ce5 | 2002-06-11 04:45:34 +0000 | [diff] [blame] | 38 | select-all=<Control-Key-a> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 39 | toggle-auto-coloring=<Control-Key-slash> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 40 | undo=<Control-Key-z> <Control-Key-Z> |
| 41 | find=<Control-Key-f> <Control-Key-F> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 42 | find-again=<Control-Key-g> <Key-F3> |
Kurt B. Kaiser | 9fd0799 | 2003-01-16 21:40:21 +0000 | [diff] [blame] | 43 | find-in-files=<Alt-Key-F3> <Meta-Key-F3> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 44 | find-selection=<Control-Key-F3> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 45 | replace=<Control-Key-h> <Control-Key-H> |
Kurt B. Kaiser | 9fd0799 | 2003-01-16 21:40:21 +0000 | [diff] [blame] | 46 | goto-line=<Alt-Key-g> <Meta-Key-g> |
Kurt B. Kaiser | 9ef8f42 | 2002-09-14 03:18:43 +0000 | [diff] [blame] | 47 | smart-backspace=<Key-BackSpace> |
| 48 | newline-and-indent=<Key-Return> <Key-KP_Enter> |
| 49 | smart-indent=<Key-Tab> |
| 50 | indent-region=<Control-Key-bracketright> |
| 51 | dedent-region=<Control-Key-bracketleft> |
Kurt B. Kaiser | 9fd0799 | 2003-01-16 21:40:21 +0000 | [diff] [blame] | 52 | comment-region=<Alt-Key-3> <Meta-Key-3> |
| 53 | uncomment-region=<Alt-Key-4> <Meta-Key-4> |
| 54 | tabify-region=<Alt-Key-5> <Meta-Key-5> |
| 55 | untabify-region=<Alt-Key-6> <Meta-Key-6> |
Raymond Hettinger | 1f65b47 | 2004-08-17 08:01:19 +0000 | [diff] [blame] | 56 | toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T> |
| 57 | change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 58 | |
Steven M. Gava | c597640 | 2002-01-04 03:06:08 +0000 | [diff] [blame] | 59 | [IDLE Classic Unix] |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 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> |
Kurt B. Kaiser | 1061e72 | 2003-01-04 01:43:53 +0000 | [diff] [blame] | 72 | view-restart=<Key-F6> |
Kurt B. Kaiser | 4cc5ef5 | 2003-01-22 00:23:23 +0000 | [diff] [blame] | 73 | restart-shell=<Control-Key-F6> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 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> |
Steven M. Gava | 7981ce5 | 2002-06-11 04:45:34 +0000 | [diff] [blame] | 79 | print-window=<Control-x><Control-Key-p> |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 80 | python-docs=<Control-Key-h> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 81 | python-context-help=<Control-Shift-Key-H> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 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> |
Kurt B. Kaiser | 9ef8f42 | 2002-09-14 03:18:43 +0000 | [diff] [blame] | 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> |
Tony Lownds | e49dd4c | 2002-09-23 01:11:57 +0000 | [diff] [blame] | 107 | |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 108 | [IDLE Classic Mac] |
| 109 | copy=<Command-Key-c> |
| 110 | cut=<Command-Key-x> |
| 111 | paste=<Command-Key-v> |
| 112 | beginning-of-line= <Key-Home> |
| 113 | center-insert=<Control-Key-l> |
| 114 | close-all-windows=<Command-Key-q> |
| 115 | close-window=<Command-Key-w> |
Kurt B. Kaiser | 84f4803 | 2002-09-26 22:13:22 +0000 | [diff] [blame] | 116 | do-nothing=<Control-Key-F12> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 117 | end-of-file=<Control-Key-d> |
| 118 | python-docs=<Key-F1> |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 119 | python-context-help=<Shift-Key-F1> |
Tony Lownds | 6565b26 | 2002-09-29 00:10:15 +0000 | [diff] [blame] | 120 | history-next=<Control-Key-n> |
| 121 | history-previous=<Control-Key-p> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 122 | interrupt-execution=<Control-Key-c> |
Kurt B. Kaiser | 1061e72 | 2003-01-04 01:43:53 +0000 | [diff] [blame] | 123 | view-restart=<Key-F6> |
Kurt B. Kaiser | 4cc5ef5 | 2003-01-22 00:23:23 +0000 | [diff] [blame] | 124 | restart-shell=<Control-Key-F6> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 125 | open-class-browser=<Command-Key-b> |
| 126 | open-module=<Command-Key-m> |
| 127 | open-new-window=<Command-Key-n> |
| 128 | open-window-from-file=<Command-Key-o> |
| 129 | plain-newline-and-indent=<Control-Key-j> |
| 130 | print-window=<Command-Key-p> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 131 | redo=<Shift-Command-Key-Z> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 132 | remove-selection=<Key-Escape> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 133 | save-window-as-file=<Shift-Command-Key-S> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 134 | save-window=<Command-Key-s> |
| 135 | save-copy-of-window-as-file=<Option-Command-Key-s> |
| 136 | select-all=<Command-Key-a> |
| 137 | toggle-auto-coloring=<Control-Key-slash> |
| 138 | undo=<Command-Key-z> |
| 139 | find=<Command-Key-f> |
| 140 | find-again=<Command-Key-g> <Key-F3> |
| 141 | find-in-files=<Command-Key-F3> |
| 142 | find-selection=<Shift-Command-Key-F3> |
| 143 | replace=<Command-Key-r> |
| 144 | goto-line=<Command-Key-j> |
| 145 | smart-backspace=<Key-BackSpace> |
| 146 | newline-and-indent=<Key-Return> <Key-KP_Enter> |
| 147 | smart-indent=<Key-Tab> |
| 148 | indent-region=<Command-Key-bracketright> |
| 149 | dedent-region=<Command-Key-bracketleft> |
| 150 | comment-region=<Control-Key-3> |
| 151 | uncomment-region=<Control-Key-4> |
| 152 | tabify-region=<Control-Key-5> |
| 153 | untabify-region=<Control-Key-6> |
| 154 | toggle-tabs=<Control-Key-t> |
| 155 | change-indentwidth=<Control-Key-u> |