##// END OF EJS Templates
Remove "\M-" readline bindings...
MinRK -
Show More
@@ -97,14 +97,14 b' c = get_config()'
97 97 # Readline
98 98 # c.InteractiveShell.readline_use = True
99 99
100 # be careful with meta-key ('\M-<x>') bindings, because
101 # they conflict with 8-bit encodings (e.g. UTF8)
102
100 103 # c.InteractiveShell.readline_parse_and_bind = [
101 104 # 'tab: complete',
102 105 # '"\C-l": possible-completions',
103 106 # 'set show-all-if-ambiguous on',
104 107 # '"\C-o": tab-insert',
105 # '"\M-i": " "',
106 # '"\M-o": "\d\d\d\d"',
107 # '"\M-I": "\d\d\d\d"',
108 108 # '"\C-r": reverse-search-history',
109 109 # '"\C-s": forward-search-history',
110 110 # '"\C-p": history-search-backward',
@@ -239,15 +239,13 b' class InteractiveShell(Configurable, Magic):'
239 239 readline_merge_completions = CBool(True, config=True)
240 240 readline_omit__names = Enum((0,1,2), default_value=2, config=True)
241 241 readline_remove_delims = Str('-/~', config=True)
242 # don't use \M- bindings by default, because they
243 # conflict with 8-bit encodings. See gh-58,gh-88
242 244 readline_parse_and_bind = List([
243 245 'tab: complete',
244 246 '"\C-l": clear-screen',
245 247 'set show-all-if-ambiguous on',
246 248 '"\C-o": tab-insert',
247 # See bug gh-58 - with \M-i enabled, chars 0x9000-0x9fff
248 # crash IPython.
249 '"\M-o": "\d\d\d\d"',
250 '"\M-I": "\d\d\d\d"',
251 249 '"\C-r": reverse-search-history',
252 250 '"\C-s": forward-search-history',
253 251 '"\C-p": history-search-backward',
General Comments 0
You need to be logged in to leave comments. Login now