atto - Simple curses text editor

Installation

pip install atto

Usage

As script

[user@localhost ~] atto "<filename>"

In your code

python import atto atto.edit('filename.txt')

Keys

  1. i to switch to insert mode
  2. ESC to return from insert mode
  3. F4 to exit without saving
  4. F2 to save
  5. F10 to save and exit
  6. Arrow keys to move cursor

License

atto is licensed under GPL License

Requirements

  1. cursor: Cross-platform library for showing and hiding cursor

    Changelog

    1.0.0

    Initial release

    1.1.0

    Major bug fixes, Long lines handling improvements

    1.1.1

    Fixed tab bugs

    1.1.2

    Added –version command line switch

    1.1.3

    Minor bug fixes

    1.1.4

    Major bug fixes

    1.1.5

    Patched version

    1.1.6

    Added LICENSE file

    1.1.7

    Minor bug fixes