https://github.com/seem/editor
Minimal terminal text editor written in Python and curses
https://github.com/seem/editor
curses editor python terminal
Last synced: over 1 year ago
JSON representation
Minimal terminal text editor written in Python and curses
- Host: GitHub
- URL: https://github.com/seem/editor
- Owner: seeM
- License: mit
- Created: 2020-09-06T08:01:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T16:31:43.000Z (over 1 year ago)
- Last Synced: 2025-03-18T07:01:41.060Z (over 1 year ago)
- Topics: curses, editor, python, terminal
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 24
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# editor
A minimal terminal text editor written in Python and curses.

## Check out the accompanying tutorial
... [How to build a text editor with Python and curses](https://wasimlorgat.com/posts/editor), which walks you through series of fifteen incremental coding problems concluding in a minimal text editor.
The tutorial was featured in [Episode 221 of the PythonBytes podcast](https://pythonbytes.fm/episodes/show/221/pattern-matching-and-accepting-change-in-python-with-brett-cannon) by Michael Kennedy and Brian Okken.
## Credits
Many thanks to the following people and projects for sharing their great work, upon which a lot of this was based!
- Many thanks to Pavel Spirhanzl and Alexandre Pajak for their keen eyes in identifying bugs in early versions.
- Gary Bernhardt's [Text Editor From Scratch](https://www.destroyallsoftware.com/screencasts/catalog/text-editor-from-scratch) screencast.
- Anthony Sottile's [babi](https://github.com/asottile/babi/).
- [nano](https://git.savannah.gnu.org/cgit/nano.git/tree/) source.
- [Emacs](https://www.gnu.org/software/emacs/) source. In my opinion, the best way to explore the source is through Emacs' built-in help commands.