Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t184256/xontrib-prompt-vi-mode

vi-mode status formatter for xonsh prompt
https://github.com/t184256/xontrib-prompt-vi-mode

shell vi-mode xonsh xontrib

Last synced: 11 days ago
JSON representation

vi-mode status formatter for xonsh prompt

Awesome Lists containing this project

README

        

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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/laerus/cookiecutter-xontrib