Extensible Text Editor; built with prompt toolkit
GPL-3.0 License
Extensible Text Editor; built with prompt toolkit
Originally a simple text editor created by Jonathan Slenders Source: https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/examples/full-screen/text-editor.py
Modified and Enhanced by Eliran Wong:
eTextEdit repository: https://github.com/eliranwong/eTextEdit
pip install --upgrade etextedit
To launch eTextEdit:
etextedit
To open a text file, e.g. test.txt:
etextedit test.txt
To pipe in a text string, e.g. "Hello World!":
echo "Hello World!" | etextedit
To append a file, e.g. test.txt, with a text string, e.g. "Hello World!":
echo "Hello World!" | etextedit test.txt
escape + m: toggle menu
control + k: help
control + q: quit
control + a: select all
escape + a: deselect all
control + c: copy
control + v: paste
control + x: cut
control + z: undo
control + i: insert spaces
control + f: find
escape + f: clear i-search highlights
control + r: find & replace
control + l: go to line
control + d: delete
control + n: new file
control + o: open file
control + s: save file
control + w: save as file
escape + a: go to beginning of document
escape + z: go to end of document
escape + b: go to beginning of current line
escape + e: go to end of current line