summaryrefslogtreecommitdiffstats
path: root/examples/ptpython_config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ptpython_config/config.py')
-rw-r--r--examples/ptpython_config/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/ptpython_config/config.py b/examples/ptpython_config/config.py
index 2f3f49d..b25850a 100644
--- a/examples/ptpython_config/config.py
+++ b/examples/ptpython_config/config.py
@@ -70,6 +70,9 @@ def configure(repl):
# Vi mode.
repl.vi_mode = False
+ # Enable the modal cursor (when using Vi mode). Other options are 'Block', 'Underline', 'Beam', 'Blink under', 'Blink block', and 'Blink beam'
+ repl.cursor_shape_config = "Modal (vi)"
+
# Paste mode. (When True, don't insert whitespace after new line.)
repl.paste_mode = False