xontrib-prompt-vi-mode

vi-mode status formatter for xonsh prompt


License
MIT
Install
pip install xontrib-prompt-vi-mode==0.1.3

Documentation

xontrib-prompt-vi-mode

vi-mode status formatter for xonsh prompt.

import xontrib.prompt_vi_mode.xsh in your .xonshrc, then add {vi_mode} or {vi_mode_not_input} to your $PROMPT or $RIGHT_PROMPT.

It's also possible to customize it a bit with the usual xonsh prompt formatting syntax, e.g. {vi_mode:[{}]} or {vi_mode_not_input:{} }.

Credits

This package was created with Cookiecutter and the `laerus/cookiecutter-xontrib`_ project template.