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.1.0.tar.gz (5.4 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.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: microedit-1.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Linux/6.17.4-200.fc42.x86_64

File hashes

Hashes for microedit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a8d05a50fa56847042e70611b78352dafac4139b34066a226f4bcc1d9fefc2aa
MD5 6470e96896784fb73775b76c37296fad
BLAKE2b-256 f702daa7e9809d33c599941905a6dcdbd451fc797e21328ff9dae447334e6c77

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for microedit-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc56f37bf8e124d05c23c607b8da42a05f1abc2a2c4440151ab6ca6780f8ddb2
MD5 49521dfb894e00663ca9f7ebf93c8927
BLAKE2b-256 fa32fb0b67e62d13eb11e8cdabaa33f808aac0140b0cdd0a4eab9d47a470ba5f

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