Module: terminal.shortcuts.auto_match
Utilities function for keybinding with prompt toolkit.
This will be bound to specific key press and filter modes, like whether we are in edit mode, and whether the completer is open.
12 Functions
- IPython.terminal.shortcuts.auto_match.parenthesis(event: KeyPressEvent)
Auto-close parenthesis
- IPython.terminal.shortcuts.auto_match.brackets(event: KeyPressEvent)
Auto-close brackets
- IPython.terminal.shortcuts.auto_match.braces(event: KeyPressEvent)
Auto-close braces
- IPython.terminal.shortcuts.auto_match.double_quote(event: KeyPressEvent)
Auto-close double quotes
- IPython.terminal.shortcuts.auto_match.single_quote(event: KeyPressEvent)
Auto-close single quotes
- IPython.terminal.shortcuts.auto_match.docstring_double_quotes(event: KeyPressEvent)
Auto-close docstring (double quotes)
- IPython.terminal.shortcuts.auto_match.docstring_single_quotes(event: KeyPressEvent)
Auto-close docstring (single quotes)
- IPython.terminal.shortcuts.auto_match.raw_string_parenthesis(event: KeyPressEvent)
Auto-close parenthesis in raw strings
- IPython.terminal.shortcuts.auto_match.raw_string_bracket(event: KeyPressEvent)
Auto-close bracker in raw strings
- IPython.terminal.shortcuts.auto_match.raw_string_braces(event: KeyPressEvent)
Auto-close braces in raw strings
- IPython.terminal.shortcuts.auto_match.skip_over(event: KeyPressEvent)
Skip over automatically added parenthesis/quote.
(rather than adding another parenthesis/quote)
- IPython.terminal.shortcuts.auto_match.delete_pair(event: KeyPressEvent)
Delete auto-closed parenthesis