Skip to main content

a text editor

Project description

Build Status Azure DevOps coverage

babi

a text editor, eventually...

why is it called babi?

I usually use the text editor nano, frequently I typo this. on a qwerty keyboard, when the right hand is shifted left by one, nano becomes babi.

quitting babi

currently you can quit babi by using ^X (or ^C which triggers a backtrace).

demos

not much works yet, here's a few things

color test (babi --color-test)

this is just to demo color support, this test mode will probably be deleted eventually. it uses a little trick to invert foreground and background to get all of the color combinations. there's one additional color not in this grid which is the "inverted default"

file view

this opens the file, displays it, and can be edited in some ways and can save! movement is currently enabled through the arrow keys, home + ^A, end + ^E, and some key combinations are detected. unknown keys are displayed as errors in the status bar. babi will scroll if the cursor goes off screen either from resize events or from movement. babi can edit multiple files. babi has a command mode (so you can quit it like vim :q!).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

babi-0.0.0.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

babi-0.0.0-py2.py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page