Skip to content

Instantly share code, notes, and snippets.

@Tomalak
Last active February 14, 2023 11:15
Show Gist options
  • Save Tomalak/0994b283d7dfbfecde807ef903e39c36 to your computer and use it in GitHub Desktop.
Save Tomalak/0994b283d7dfbfecde807ef903e39c36 to your computer and use it in GitHub Desktop.
Configuration files for the Python IDLE editor
# .idlerc/config-highlight.cfg
# Several dark color themes
[Tomorrow Night]
definition-foreground = #81a2be
error-foreground = #e37170
normal-foreground = #c5c8c6
keyword-foreground = #b294bb
hilite-foreground = #c5c8c6
comment-background = #1d1f21
hit-foreground = #1d1f21
builtin-background = #1d1f21
stdout-foreground = #f7f7f7
string-background = #1d1f21
break-background = #ffff55
comment-foreground = #969896
hilite-background = #373b41
definition-background = #1d1f21
stderr-background = #1d1f21
hit-background = #f0c674
console-foreground = #d26900
normal-background = #1d1f21
builtin-foreground = #81a2be
stdout-background = #1d1f21
console-background = #1d1f21
stderr-foreground = #eb0214
keyword-background = #1d1f21
string-foreground = #b5bd68
break-foreground = black
error-background = #3d3535
cursor-foreground = #c5c8c6
[Monokai]
normal-foreground = #F8F8F2
normal-background = #272822
keyword-foreground = #F92672
keyword-background = #272822
builtin-foreground = #66D9EF
builtin-background = #272822
comment-foreground = #75715E
comment-background = #272822
string-foreground = #FD971F
string-background = #272822
definition-foreground = #A6E22E
definition-background = #272822
hilite-foreground = #F8F8F2
hilite-background = gray
break-foreground = black
break-background = #ffff55
hit-foreground = #F8F8F2
hit-background = #171812
error-foreground = #ff3338
error-background = #272822
cursor-foreground = #F8F8F2
stdout-foreground = #DDDDDD
stdout-background = #272822
stderr-foreground = #ff3338
stderr-background = #272822
console-foreground = #75715E
console-background = #272822
[VSCode]
definition-foreground = #3987d6
error-foreground = #fe1b1b
normal-foreground = #dcdcdc
keyword-foreground = #3987d6
hilite-foreground = #dcdcdc
comment-background = #1e1e1e
hit-foreground = #ffffff
builtin-background = #1e1e1e
stdout-foreground = #dcdcdc
string-background = #1e1e1e
break-background = #ffff55
comment-foreground = #57a64a
hilite-background = #264f78
definition-background = #1e1e1e
stderr-background = #a7a7a7
hit-background = #653306
console-foreground = #dcdcdc
normal-background = #1e1e1e
builtin-foreground = #4ec9b0
stdout-background = #1e1e1e
console-background = #1e1e1e
stderr-foreground = red
keyword-background = #1e1e1e
string-foreground = #d69d85
break-foreground = black
error-background = #1e1e1e
cursor-foreground = #dcdcdc
#.idlerc/config-keys.cfg
# sane keybindings for Windows
[Windows Sane]
beginning-of-line = <Key-Home>
center-insert = <Control-Key-l>
change-indentwidth = <Control-Key-t>
check-module = <Alt-Key-x>
close-all-windows = <Alt-Key-F4>
close-window = <Control-Key-F4>
comment-region = <Alt-Key-3>
copy = <Control-Key-c>
cut = <Control-Key-x>
dedent-region = <Shift-Key-Tab>
del-word-left = <Control-Key-BackSpace>
del-word-right = <Control-Key-Delete>
do-nothing = <Control-Key-F12>
end-of-file = <Control-Key-End>
expand-word = <Alt-Key-slash>
find = <Control-Key-f>
find-again = <Key-F3>
find-in-files = <Control-Shift-Key-f>
find-selection = <Alt-Key-F3>
flash-paren = <Control-Key-0>
force-open-calltip = <Control-Key-less>
force-open-completions = <Control-Key-space>
format-paragraph = <Alt-Key-f>
goto-line = <Control-Key-g>
history-next = <Alt-Key-n>
history-previous = <Alt-Key-p>
indent-region = <Control-Key-bracketright>
interrupt-execution = <Control-Key-c>
newline-and-indent = <Key-Return> <Key-KP_Enter>
open-class-browser = <Alt-Key-c>
open-module = <Alt-Key-m>
open-new-window = <Control-Key-n>
open-window-from-file = <Control-Key-o>
paste = <Control-Key-v>
plain-newline-and-indent = <Control-Key-j>
print-window = <Control-Key-p>
python-context-help = <Key-F1>
python-docs = <Shift-Key-F1>
redo = <Control-Key-y>
remove-selection = <Key-Escape>
replace = <Control-Key-h>
restart-shell = <Control-Key-F5>
run-custom = <Shift-Key-F5>
run-module = <Key-F5>
save-copy-of-window-as-file = <Control-Alt-Key-s>
save-window = <Control-Key-s>
save-window-as-file = <Control-Shift-Key-s>
select-all = <Control-Key-a>
smart-backspace = <Key-BackSpace>
smart-indent = <Key-Tab>
tabify-region = <Alt-Key-5>
toggle-auto-coloring = <Control-Key-#>
toggle-tabs = <Control-Shift-Key-t>
uncomment-region = <Alt-Key-4>
undo = <Control-Key-z>
untabify-region = <Alt-Key-6>
view-restart = <Key-F6>
zoom-height = <Alt-Key-2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment