We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6952a8 commit 311c26fCopy full SHA for 311c26f
1 file changed
ptpython/layout.py
@@ -429,7 +429,7 @@ def toggle_vi_mode(mouse_event: MouseEvent) -> None:
429
elif app.current_buffer.selection_state.type == SelectionType.CHARACTERS:
430
append((input_mode_t, "Vi (VISUAL)", toggle_vi_mode))
431
append((token, " "))
432
- elif app.current_buffer.selection_state.type == "BLOCK":
+ elif app.current_buffer.selection_state.type == SelectionType.BLOCK:
433
append((input_mode_t, "Vi (VISUAL BLOCK)", toggle_vi_mode))
434
435
elif mode in (InputMode.INSERT, "vi-insert-multiple"):
0 commit comments