##// END OF EJS Templates
Remove "\M-" readline bindings...
MinRK -
Show More
@@ -97,14 +97,14 b' c = get_config()'
97 # Readline
97 # Readline
98 # c.InteractiveShell.readline_use = True
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 # c.InteractiveShell.readline_parse_and_bind = [
103 # c.InteractiveShell.readline_parse_and_bind = [
101 # 'tab: complete',
104 # 'tab: complete',
102 # '"\C-l": possible-completions',
105 # '"\C-l": possible-completions',
103 # 'set show-all-if-ambiguous on',
106 # 'set show-all-if-ambiguous on',
104 # '"\C-o": tab-insert',
107 # '"\C-o": tab-insert',
105 # '"\M-i": " "',
106 # '"\M-o": "\d\d\d\d"',
107 # '"\M-I": "\d\d\d\d"',
108 # '"\C-r": reverse-search-history',
108 # '"\C-r": reverse-search-history',
109 # '"\C-s": forward-search-history',
109 # '"\C-s": forward-search-history',
110 # '"\C-p": history-search-backward',
110 # '"\C-p": history-search-backward',
@@ -239,15 +239,13 b' class InteractiveShell(Configurable, Magic):'
239 readline_merge_completions = CBool(True, config=True)
239 readline_merge_completions = CBool(True, config=True)
240 readline_omit__names = Enum((0,1,2), default_value=2, config=True)
240 readline_omit__names = Enum((0,1,2), default_value=2, config=True)
241 readline_remove_delims = Str('-/~', config=True)
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 readline_parse_and_bind = List([
244 readline_parse_and_bind = List([
243 'tab: complete',
245 'tab: complete',
244 '"\C-l": clear-screen',
246 '"\C-l": clear-screen',
245 'set show-all-if-ambiguous on',
247 'set show-all-if-ambiguous on',
246 '"\C-o": tab-insert',
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 '"\C-r": reverse-search-history',
249 '"\C-r": reverse-search-history',
252 '"\C-s": forward-search-history',
250 '"\C-s": forward-search-history',
253 '"\C-p": history-search-backward',
251 '"\C-p": history-search-backward',
General Comments 0
You need to be logged in to leave comments. Login now