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 3
3
Pyvim configuration. Save to file to: ~/.pyvimrc
4
4
"""
5
5
from 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
7
7
from prompt_toolkit .keys import Keys
8
8
from subprocess import call
9
9
import six
@@ -53,7 +53,7 @@ def configure(editor):
53
53
54
54
(imap jj <esc>)
55
55
"""
56
- event .cli .input_processor .feed (KeyPress (Keys .Escape ))
56
+ event .cli .key_processor .feed (KeyPress (Keys .Escape ))
57
57
58
58
@editor .add_key_binding (Keys .F9 )
59
59
def save_and_execute_python_file (event ):
@@ -69,7 +69,7 @@ def configure(editor):
69
69
return
70
70
else :
71
71
editor_buffer .write ()
72
-
72
+
73
73
# Now run the Python interpreter. But use
74
74
# `CommandLineInterface.run_in_terminal` to go to the background and
75
75
# not destroy the window layout.
You can’t perform that action at this time.
0 commit comments