mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Add literal tab insert to prompt tk keybinding
This commit is contained in:
parent
fdab4ed280
commit
eed1626be0
1 changed files with 8 additions and 0 deletions
|
@ -32,3 +32,11 @@ def load_xonsh_bindings(key_bindings_manager):
|
|||
indent instead of autocompleting.
|
||||
"""
|
||||
event.cli.current_buffer.insert_text(env.get('INDENT'))
|
||||
|
||||
@handle(Keys.BackTab)
|
||||
def _(event):
|
||||
"""
|
||||
Insert literal tab on Shift+Tab instead of autocompleting
|
||||
"""
|
||||
event.cli.current_buffer.insert_text(env.get('INDENT'))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue