Skip to content

Commit

Permalink
please formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jan 3, 2023
1 parent 8af5442 commit 11dd252
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions IPython/terminal/shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ def reformat_and_execute(event):
def ebivim():
return shell.emacs_bindings_in_vi_insert_mode

kb.add('escape', 'enter', filter=(has_focus(DEFAULT_BUFFER)
& ~has_selection
& insert_mode
& ebivim
))(reformat_and_execute)
kb.add(
"escape",
"enter",
filter=(has_focus(DEFAULT_BUFFER) & ~has_selection & insert_mode & ebivim),
)(reformat_and_execute)

kb.add("c-\\")(quit)

Expand Down

0 comments on commit 11dd252

Please sign in to comment.