Merge pull request #490 from gforsyth/open_in_editor

add open in editor to prompt_toolkit_shell
This commit is contained in:
Anthony Scopatz 2015-11-14 10:43:35 -05:00
commit 47a3b753c8

View file

@ -48,6 +48,7 @@ class PromptToolkitShell(BaseShell):
self.pt_completer = PromptToolkitCompleter(self.completer, self.ctx)
self.key_bindings_manager = KeyBindingManager(
enable_auto_suggest_bindings=True,
enable_open_in_editor=True,
enable_search=True, enable_abort_and_exit_bindings=True)
load_xonsh_bindings(self.key_bindings_manager)