Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 10 days ago
JSON representation

Minimal terminal text editor written in Python and curses

Awesome Lists containing this project

README

        

# editor

A minimal terminal text editor written in Python and curses.

![](https://wasimlorgat.com/posts/images/editor.svg)

## 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.