mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Merge pull request #428 from gforsyth/master
Add literal tab insert to prompt tk keybinding
This commit is contained in:
commit
1e16843369
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 insert_literal_tab(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