1
0
forked from VimPlug/jedi

hit tab once in readline instead of twice

This commit is contained in:
David Halter
2013-08-17 19:22:04 +04:30
parent 1ce4babe36
commit 2097eca646

View File

@@ -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('')