From 878f88b4b9c14199cfc36608e3c2843214408ab9 Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 17 Aug 2013 19:48:21 +0430 Subject: [PATCH] don't repeat all the things written in the readline all the time --- jedi/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jedi/utils.py b/jedi/utils.py index 25e3cf49..d11fda46 100644 --- a/jedi/utils.py +++ b/jedi/utils.py @@ -85,5 +85,7 @@ def setup_readline(namespace_module=__main__): # because it's easier to hit the tab just once readline.parse_and_bind("set show-all-if-unmodified") readline.parse_and_bind("set show-all-if-ambiguous on") + # don't repeat all the things written in the readline all the time + readline.parse_and_bind("set completion-prefix-display-length 2") # No delimiters, Jedi handles that. readline.set_completer_delims('')