Skip to main content

vi-mode status formatter for xonsh prompt

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xontrib-prompt-vi-mode-0.1.0.zip (3.3 kB view details)

Uploaded Source

File details

Details for the file xontrib-prompt-vi-mode-0.1.0.zip.

File metadata

File hashes

Hashes for xontrib-prompt-vi-mode-0.1.0.zip
Algorithm Hash digest
SHA256 1141524f5472dce955c4739261a9849c19176aa4b2a2931562c35f3c1ec447de
MD5 63f24590e9fd117e286f3a80f56afbf5
BLAKE2b-256 699d9b5941df73e9ae781644ef6cf5336d092d4dffbbfd3cbf8800cb63636392

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page