forked from VimPlug/jedi
hit tab once in readline instead of twice
This commit is contained in:
@@ -82,5 +82,8 @@ def setup_readline(namespace_module=__main__):
|
|||||||
readline.parse_and_bind("tab: complete")
|
readline.parse_and_bind("tab: complete")
|
||||||
# jedi itself does the case matching
|
# jedi itself does the case matching
|
||||||
readline.parse_and_bind("set completion-ignore-case on")
|
readline.parse_and_bind("set completion-ignore-case on")
|
||||||
|
# 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")
|
||||||
# No delimiters, Jedi handles that.
|
# No delimiters, Jedi handles that.
|
||||||
readline.set_completer_delims('')
|
readline.set_completer_delims('')
|
||||||
|
|||||||
Reference in New Issue
Block a user