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
=======================
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
File details
Details for the file xontrib-prompt-vi-mode-0.1.2.zip
.
File metadata
- Download URL: xontrib-prompt-vi-mode-0.1.2.zip
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de15558fed7b3c0be14910f6772b22be825c178129960dabc0c7fe4befde9fb0 |
|
MD5 | 07c77cdaa924412e79e7c85c7a49809e |
|
BLAKE2b-256 | 06735dec709f8c234edf090af736cb3ec83bbd618b759744e36911491ca4187f |