micro

A terminal editor with familiar shortcuts and mouse support

micro Editors

About

micro aims to feel like a graphical editor while running in the terminal. The usual Ctrl-key shortcuts, multiple cursors, mouse selection. An easy first editor if modal editing is not for you.

Install it

pkg install micro

Run this inside Termux. If the package is already present, pkg will say so and do nothing.

Commands worth knowing

5 of the invocations you will actually reach for. Tap the copy button to put one on your clipboard.

micro notes.txt Open a file for editing with familiar shortcuts and mouse support.
micro -readonly notes.txt Open a file so it cannot be saved over. Good for reviewing.
micro -plugin list List the plugins available to install.
micro -plugin install comment Install a plugin by name to add an editing feature.
micro -options Open a settings file where you can change defaults and save them.

Worked example

Run micro -version and this is what you should see.

termux
$ micro -version
Version: 2.0.13
Commit hash: 5c3d5b9
Compiled on: 2024-02-01

The compiled-on date tells you how recent the build is.

Developed by

Zachary Yedidia .