Skip to main content

A non-interactive file editor

Project description

Medit

psst... check out tedit by Robertflexx

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)
  • i | insert [TEXT]: inserts TEXT after the current line's content (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.2.0.tar.gz (6.2 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.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for microedit-1.2.0.tar.gz
Algorithm Hash digest
SHA256 649e3d749d9c6f9823d69cadcef85590114a24d6b67d6c3cdac4941c0086a2a8
MD5 4c23a060c7144b4ae01020d3f258fca5
BLAKE2b-256 29df6306c243c209c448e4e2c2718c91bee61d57d90139cd77553aeb5691a7e9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for microedit-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cba8608bf0cccffc58a73707671180dd4e0081c30038d8eb256ff853de854d03
MD5 4f994782a34660c6fb76f04ad4ddabc8
BLAKE2b-256 9afb1069768ef826091352626b0da28ea06fa19bde85d563b956fe5340d5d5d9

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