By mhasanali2010
nixscribe is a terminal-based text editor written in Python.
It supports CLI arguments:
--create— create files--read— view files with syntax highlighting--edit— edit files with syntax highlighting
Syntax highlighting is supported for Python, HTML, CSS, and JavaScript.
Editing is powered by prompt_toolkit, while viewing uses rich for syntax highligh
https://pypi.org/project/nixscribe
https://github.com/mhasanali2010/nixscribe
Stated in requirements.txt:
- prompt_toolkit
- rich
- pygments
Install using pip:
pip install nixscribe- To create a file:
nixscribe --create <path\to\file>
- To read from a file:
nixscribe --read <path\to\file>
- To edit a file:
nixscribe --edit <path\to\file>
- Ctrl+Q to quit editing without saving.
- Ctrl+S to save without quitting.
- F3 to save & quit.