Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/t184256/xontrib-prompt-vi-mode
- Owner: t184256
- License: mit
- Created: 2016-09-25T15:57:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T07:30:29.000Z (about 4 years ago)
- Last Synced: 2024-10-11T23:06:40.085Z (28 days ago)
- Topics: shell, vi-mode, xonsh, xontrib
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 11
- Watchers: 4
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-xontribs - prompt_vi_mode - vi-mode status formatter for xonsh prompt (Prompts)
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