File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33Pyvim configuration. Save to file to: ~/.pyvimrc
44"""
55from prompt_toolkit .filters import ViInsertMode
6- from prompt_toolkit .key_binding .input_processor import KeyPress
6+ from prompt_toolkit .key_binding .key_processor import KeyPress
77from prompt_toolkit .keys import Keys
88from subprocess import call
99import six
@@ -53,7 +53,7 @@ def configure(editor):
5353
5454 (imap jj <esc>)
5555 """
56- event .cli .input_processor .feed (KeyPress (Keys .Escape ))
56+ event .cli .key_processor .feed (KeyPress (Keys .Escape ))
5757
5858 @editor .add_key_binding (Keys .F9 )
5959 def save_and_execute_python_file (event ):
@@ -69,7 +69,7 @@ def configure(editor):
6969 return
7070 else :
7171 editor_buffer .write ()
72-
72+
7373 # Now run the Python interpreter. But use
7474 # `CommandLineInterface.run_in_terminal` to go to the background and
7575 # not destroy the window layout.
You can’t perform that action at this time.
0 commit comments