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> |
Kurt B. Kaiser | 3069dbb | 2005-01-28 00:16:16 +0000 | [diff] [blame] | 58 | del-word-left=<Control-Key-BackSpace> |
| 59 | del-word-right=<Control-Key-Delete> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 60 | |
Steven M. Gava | c597640 | 2002-01-04 03:06:08 +0000 | [diff] [blame] | 61 | [IDLE Classic Unix] |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 62 | copy=<Alt-Key-w> <Meta-Key-w> |
| 63 | cut=<Control-Key-w> |
| 64 | paste=<Control-Key-y> |
| 65 | beginning-of-line=<Control-Key-a> <Key-Home> |
| 66 | center-insert=<Control-Key-l> |
| 67 | close-all-windows=<Control-Key-x><Control-Key-c> |
| 68 | close-window=<Control-Key-x><Control-Key-0> |
| 69 | do-nothing=<Control-Key-x> |
| 70 | end-of-file=<Control-Key-d> |
| 71 | history-next=<Alt-Key-n> <Meta-Key-n> |
| 72 | history-previous=<Alt-Key-p> <Meta-Key-p> |
| 73 | interrupt-execution=<Control-Key-c> |
Kurt B. Kaiser | 1061e72 | 2003-01-04 01:43:53 +0000 | [diff] [blame] | 74 | view-restart=<Key-F6> |
Kurt B. Kaiser | 4cc5ef5 | 2003-01-22 00:23:23 +0000 | [diff] [blame] | 75 | restart-shell=<Control-Key-F6> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 76 | open-class-browser=<Control-Key-x><Control-Key-b> |
| 77 | open-module=<Control-Key-x><Control-Key-m> |
| 78 | open-new-window=<Control-Key-x><Control-Key-n> |
| 79 | open-window-from-file=<Control-Key-x><Control-Key-f> |
| 80 | plain-newline-and-indent=<Control-Key-j> |
Steven M. Gava | 7981ce5 | 2002-06-11 04:45:34 +0000 | [diff] [blame] | 81 | print-window=<Control-x><Control-Key-p> |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 82 | python-docs=<Control-Key-h> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 83 | python-context-help=<Control-Shift-Key-H> |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 84 | redo=<Alt-Key-z> <Meta-Key-z> |
| 85 | remove-selection=<Key-Escape> |
| 86 | save-copy-of-window-as-file=<Control-Key-x><Control-Key-y> |
| 87 | save-window-as-file=<Control-Key-x><Control-Key-w> |
| 88 | save-window=<Control-Key-x><Control-Key-s> |
| 89 | select-all=<Alt-Key-a> <Meta-Key-a> |
| 90 | toggle-auto-coloring=<Control-Key-slash> |
| 91 | undo=<Control-Key-z> |
| 92 | find=<Control-Key-u><Control-Key-u><Control-Key-s> |
| 93 | find-again=<Control-Key-u><Control-Key-s> |
| 94 | find-in-files=<Alt-Key-s> <Meta-Key-s> |
| 95 | find-selection=<Control-Key-s> |
| 96 | replace=<Control-Key-r> |
| 97 | goto-line=<Alt-Key-g> <Meta-Key-g> |
Kurt B. Kaiser | 9ef8f42 | 2002-09-14 03:18:43 +0000 | [diff] [blame] | 98 | smart-backspace=<Key-BackSpace> |
| 99 | newline-and-indent=<Key-Return> <Key-KP_Enter> |
| 100 | smart-indent=<Key-Tab> |
| 101 | indent-region=<Control-Key-bracketright> |
| 102 | dedent-region=<Control-Key-bracketleft> |
| 103 | comment-region=<Alt-Key-3> |
| 104 | uncomment-region=<Alt-Key-4> |
| 105 | tabify-region=<Alt-Key-5> |
| 106 | untabify-region=<Alt-Key-6> |
| 107 | toggle-tabs=<Alt-Key-t> |
| 108 | change-indentwidth=<Alt-Key-u> |
Kurt B. Kaiser | 3069dbb | 2005-01-28 00:16:16 +0000 | [diff] [blame] | 109 | del-word-left=<Alt-Key-BackSpace> |
| 110 | del-word-right=<Alt-Key-d> |
Tony Lownds | e49dd4c | 2002-09-23 01:11:57 +0000 | [diff] [blame] | 111 | |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 112 | [IDLE Classic Mac] |
| 113 | copy=<Command-Key-c> |
| 114 | cut=<Command-Key-x> |
| 115 | paste=<Command-Key-v> |
| 116 | beginning-of-line= <Key-Home> |
| 117 | center-insert=<Control-Key-l> |
| 118 | close-all-windows=<Command-Key-q> |
| 119 | close-window=<Command-Key-w> |
Kurt B. Kaiser | 84f4803 | 2002-09-26 22:13:22 +0000 | [diff] [blame] | 120 | do-nothing=<Control-Key-F12> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 121 | end-of-file=<Control-Key-d> |
| 122 | python-docs=<Key-F1> |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 123 | python-context-help=<Shift-Key-F1> |
Tony Lownds | 6565b26 | 2002-09-29 00:10:15 +0000 | [diff] [blame] | 124 | history-next=<Control-Key-n> |
| 125 | history-previous=<Control-Key-p> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 126 | interrupt-execution=<Control-Key-c> |
Kurt B. Kaiser | 1061e72 | 2003-01-04 01:43:53 +0000 | [diff] [blame] | 127 | view-restart=<Key-F6> |
Kurt B. Kaiser | 4cc5ef5 | 2003-01-22 00:23:23 +0000 | [diff] [blame] | 128 | restart-shell=<Control-Key-F6> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 129 | open-class-browser=<Command-Key-b> |
| 130 | open-module=<Command-Key-m> |
| 131 | open-new-window=<Command-Key-n> |
| 132 | open-window-from-file=<Command-Key-o> |
| 133 | plain-newline-and-indent=<Control-Key-j> |
| 134 | print-window=<Command-Key-p> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 135 | redo=<Shift-Command-Key-Z> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 136 | remove-selection=<Key-Escape> |
Kurt B. Kaiser | 2303b1c | 2003-11-24 05:26:16 +0000 | [diff] [blame] | 137 | save-window-as-file=<Shift-Command-Key-S> |
Tony Lownds | f18efa5 | 2002-09-23 00:57:10 +0000 | [diff] [blame] | 138 | save-window=<Command-Key-s> |
| 139 | save-copy-of-window-as-file=<Option-Command-Key-s> |
| 140 | select-all=<Command-Key-a> |
| 141 | toggle-auto-coloring=<Control-Key-slash> |
| 142 | undo=<Command-Key-z> |
| 143 | find=<Command-Key-f> |
| 144 | find-again=<Command-Key-g> <Key-F3> |
| 145 | find-in-files=<Command-Key-F3> |
| 146 | find-selection=<Shift-Command-Key-F3> |
| 147 | replace=<Command-Key-r> |
| 148 | goto-line=<Command-Key-j> |
| 149 | smart-backspace=<Key-BackSpace> |
| 150 | newline-and-indent=<Key-Return> <Key-KP_Enter> |
| 151 | smart-indent=<Key-Tab> |
| 152 | indent-region=<Command-Key-bracketright> |
| 153 | dedent-region=<Command-Key-bracketleft> |
| 154 | comment-region=<Control-Key-3> |
| 155 | uncomment-region=<Control-Key-4> |
| 156 | tabify-region=<Control-Key-5> |
| 157 | untabify-region=<Control-Key-6> |
| 158 | toggle-tabs=<Control-Key-t> |
| 159 | change-indentwidth=<Control-Key-u> |
Kurt B. Kaiser | 3069dbb | 2005-01-28 00:16:16 +0000 | [diff] [blame] | 160 | del-word-left=<Control-Key-BackSpace> |
| 161 | del-word-right=<Control-Key-Delete> |