Skip to main content

A non-interactive file editor

Project description

Medit

Micro Edit

A hyper minimal text editor for your terminal built with Python

Features

  • Extremely lightweight and fast
  • No curses or ncurses, pure terminal I/O
  • Basic text editing capabilities
  • Simple and intuitive interface

Installation

You can install Medit using pip:

pip install MicroEdit

Usage

medit <filename>

Controls

  • h | help: help
  • q | quit: quit medit
  • s | save: save file
  • u | up [AMOUNT]: move cursor up AMOUNT lines (optional)
  • d | down [AMOUNT]: move cursor down AMOUNT lines (optional)
  • a | add [TEXT]: adds a newline with TEXT below the current line (optional)
  • r | remove: removes the current line
  • e | edit [TEXT]: replaces the current line with TEXT (optional)

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

License

This project is licensed under the Zlib License.

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

microedit-1.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microedit-1.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file microedit-1.0.1.tar.gz.

File metadata

  • Download URL: microedit-1.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.9 Linux/6.17.4-200.fc42.x86_64

File hashes

Hashes for microedit-1.0.1.tar.gz
Algorithm Hash digest
SHA256 439cf8db223cacad412d977e2af30dcfb1aeb94f9de123c8ed8b9a629009445e
MD5 b3a36c24eecf5a62e6d1ec0d2b406522
BLAKE2b-256 63f69e1ef9debf205f8656b58c05ab01ed7b67958836755959c29724e7c5efe4

See more details on using hashes here.

File details

Details for the file microedit-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: microedit-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.9 Linux/6.17.4-200.fc42.x86_64

File hashes

Hashes for microedit-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08a0480ee727112e06a9170b31d44c28c04a95e0e5a0c4c3cfb2764a6195587d
MD5 a2fbe047ccbd9c1f953bc0a22ba6d601
BLAKE2b-256 e04d362addbdc25147e7475620f2ef919497465f5ddd267a98ea6f38e671a28b

See more details on using hashes here.

Supported by

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