Correctly handle 'tab' key binding.

This commit is contained in:
Jonathan Slenders 2015-10-20 03:37:55 +02:00
parent 956a6202b5
commit 880ada8052

View file

@ -31,6 +31,4 @@ def load_xonsh_bindings(key_bindings_manager):
If there are only whitespaces before current cursor position insert
indent instead of autocompleting.
"""
event.cli.current_buffer.insert_text(env['INDENT'])
event.cli.current_buffer.insert_text(env.get('INDENT', ' '))