Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fd0799

Browse files
committed
SF Bug 667812: Some Linux distros have Alt and Meta reversed.
1 parent 976249b commit 9fd0799

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

Lib/idlelib/config-keys.def

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ paste=<Control-Key-v>
1414
beginning-of-line= <Key-Home>
1515
center-insert=<Control-Key-l>
1616
close-all-windows=<Control-Key-q>
17-
close-window=<Alt-Key-F4>
17+
close-window=<Alt-Key-F4> <Meta-Key-F4>
1818
do-nothing=<Control-Key-F12>
1919
end-of-file=<Control-Key-d>
2020
python-docs=<Key-F1>
2121
python-context-help=<Shift-Key-F1>
22-
history-next=<Alt-Key-n>
23-
history-previous=<Alt-Key-p>
22+
history-next=<Alt-Key-n> <Meta-Key-n>
23+
history-previous=<Alt-Key-p> <Meta-Key-p>
2424
interrupt-execution=<Control-Key-c>
2525
view-restart=<Key-F6>
26-
open-class-browser=<Alt-Key-c>
27-
open-module=<Alt-Key-m>
26+
open-class-browser=<Alt-Key-c> <Meta-Key-c>
27+
open-module=<Alt-Key-m> <Meta-Key-m>
2828
open-new-window=<Control-Key-n>
2929
open-window-from-file=<Control-Key-o>
3030
plain-newline-and-indent=<Control-Key-j>
@@ -39,21 +39,21 @@ toggle-auto-coloring=<Control-Key-slash>
3939
undo=<Control-Key-z>
4040
find=<Control-Key-f>
4141
find-again=<Control-Key-g> <Key-F3>
42-
find-in-files=<Alt-Key-F3>
42+
find-in-files=<Alt-Key-F3> <Meta-Key-F3>
4343
find-selection=<Control-Key-F3>
4444
replace=<Control-Key-h>
45-
goto-line=<Alt-Key-g>
45+
goto-line=<Alt-Key-g> <Meta-Key-g>
4646
smart-backspace=<Key-BackSpace>
4747
newline-and-indent=<Key-Return> <Key-KP_Enter>
4848
smart-indent=<Key-Tab>
4949
indent-region=<Control-Key-bracketright>
5050
dedent-region=<Control-Key-bracketleft>
51-
comment-region=<Alt-Key-3>
52-
uncomment-region=<Alt-Key-4>
53-
tabify-region=<Alt-Key-5>
54-
untabify-region=<Alt-Key-6>
55-
toggle-tabs=<Alt-Key-t>
56-
change-indentwidth=<Alt-Key-u>
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>
56+
change-indentwidth=<Alt-Key-u> <Meta-Key-u>
5757

5858
[IDLE Classic Unix]
5959
copy=<Alt-Key-w> <Meta-Key-w>

0 commit comments

Comments
 (0)