summaryrefslogtreecommitdiffstats
path: root/examples/ptpython_config
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2023-12-17 10:46:40 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2023-12-17 10:46:40 +0000
commit4e61276ae3a4432a9d7a65dd49eb6ae71dd5f93a (patch)
tree57f9ac8ea7edafc3db4db312b8a369ab39711636 /examples/ptpython_config
parentAdding upstream version 3.0.23. (diff)
downloadptpython-4e61276ae3a4432a9d7a65dd49eb6ae71dd5f93a.tar.xz
ptpython-4e61276ae3a4432a9d7a65dd49eb6ae71dd5f93a.zip
Adding upstream version 3.0.25.upstream/3.0.25
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'examples/ptpython_config')
-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