chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/emacs: Inhibit autoresponses from Exchange.
[profile]
/
dot
/
ipython-config.py
diff --git
a/dot/ipython-config.py
b/dot/ipython-config.py
index 3377a2b25510e759673791e60848a459a141187c..9db7f6bd22d74a0b15090e9e73f55713569abdd6 100644
(file)
--- a/
dot/ipython-config.py
+++ b/
dot/ipython-config.py
@@
-1,6
+1,8
@@
### -*-python -*-
import pygments as PYG
### -*-python -*-
import pygments as PYG
+import prompt_toolkit as PTK
+
c = get_config()
## Simple stuff.
c = get_config()
## Simple stuff.
@@
-21,7
+23,7
@@
c.TerminalInteractiveShell.highlighting_style = 'emacs'
c.TerminalInteractiveShell.highlighting_style_overrides = {
T.Keyword: 'bold #fff',
T.Comment: 'italic #54ff9f',
c.TerminalInteractiveShell.highlighting_style_overrides = {
T.Keyword: 'bold #fff',
T.Comment: 'italic #54ff9f',
- T.Literal.Number: '#
adff2f
',
+ T.Literal.Number: '#
ffff00
',
T.Literal.String: '#87ceff',
T.Literal.String.Escape: '#87ceff',
T.Literal.String.Interpol: '#87ceff',
T.Literal.String: '#87ceff',
T.Literal.String.Escape: '#87ceff',
T.Literal.String.Interpol: '#87ceff',
@@
-30,6
+32,7
@@
c.TerminalInteractiveShell.highlighting_style_overrides = {
T.Name.Class: '#fff',
T.Name.Constant: 'italic #fff',
T.Name.Decorator: '#fff',
T.Name.Class: '#fff',
T.Name.Constant: 'italic #fff',
T.Name.Decorator: '#fff',
+ T.Name.Exception: '#fff',
T.Name.Function: '#fff',
T.Name.Function.Magic: '#fff',
T.Name.Label: '#fff',
T.Name.Function: '#fff',
T.Name.Function.Magic: '#fff',
T.Name.Label: '#fff',
@@
-41,5
+44,8
@@
c.TerminalInteractiveShell.highlighting_style_overrides = {
T.Name.Variable.Magic: '#fff',
T.Operator: '#eec591',
T.Operator.Word: 'bold #fff',
T.Name.Variable.Magic: '#fff',
T.Operator: '#eec591',
T.Operator.Word: 'bold #fff',
- T.Punctuation: '#eec591'
+ T.Punctuation: '#eec591',
+ PTK.token.Token.MatchingBracket: '',
+ PTK.token.Token.MatchingBracket.Cursor: '',
+ PTK.token.Token.MatchingBracket.Other: 'bg:#006400'
}
}