色をつける
こんな感じ
$ vim ~/.idlerc/config-highlight.cfg
[Obsidian] definition-foreground = #678CB1 error-foreground = #FF0000 string-background = #293134 keyword-foreground = #93C763 normal-foreground = #E0E2E4 comment-background = #293134 hit-foreground = #E0E2E4 builtin-background = #293134 stdout-foreground = #678CB1 cursor-foreground = #E0E2E4 break-background = #293134 comment-foreground = #66747B hilite-background = #2F393C hilite-foreground = #E0E2E4 definition-background = #293134 stderr-background = #293134 hit-background = #000000 console-foreground = #E0E2E4 normal-background = #293134 builtin-foreground = #E0E2E4 stdout-background = #293134 console-background = #293134 stderr-foreground = #FB0000 keyword-background = #293134 string-foreground = #EC7600 break-foreground = #E0E2E4 error-background = #293134ここを参考に作成。
https://gist.github.com/1122904
「Options」→「Configure IDLE」→「Highlighting」→「Custom Theme」で選択する
キーバインド
「Options」→「Configure IDLE」→「Keys」→「IDLE Classic UNIX」を選択する
Customである程度設定できそうだけど、取りあえずこんなもんで。
0 件のコメント:
コメントを投稿