mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
put back in check for middle of line, temporarily
This commit is contained in:
parent
bef6e2beb8
commit
1e7335c82a
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ def load_xonsh_bindings(key_bindings_manager):
|
|||
b.newline(copy_margin=True)
|
||||
elif b.document.char_before_cursor == '\\':
|
||||
b.newline()
|
||||
elif b.document.find_next_word_beginning() is not None:
|
||||
b.newline(copy_margin=True)
|
||||
elif not can_compile(b.document.text):
|
||||
b.newline()
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue