gitmyhub

micro

Go ★ 29k updated 4h ago

A modern and intuitive terminal-based text editor

A modern terminal text editor that uses familiar keyboard shortcuts like Ctrl-S and Ctrl-C instead of cryptic commands, with mouse support, syntax highlighting for 130+ languages, and no dependencies, download one file and start editing.

Gosetup: easycomplexity 1/5

Micro is a text editor that runs inside a terminal window. It is aimed at people who like editing files at the command line but want something easier to pick up than older terminal editors. The README positions it as a kind of successor to nano: easy to install and use, with more modern features. It ships as a single, self-contained binary with no dependencies, so you download one file and run it. Once open, micro feels closer to a familiar graphical editor than to traditional terminal editors. It uses common keyboard shortcuts such as Ctrl-S to save, Ctrl-C to copy, Ctrl-V to paste, and Ctrl-Z to undo, and these can be rebound. There is a nano-style menu at the bottom that hints at what the keys do, so you do not have to memorize them. The README lists features including multiple cursors, splits and tabs, strong mouse support (click to position, double-click for a word, triple-click for a line, drag to select), persistent undo, macros, simple autocompletion, automatic linting with error notifications, a diff gutter that shows unsaved changes, system clipboard copy and paste, soft wrapping, Unicode support, and syntax highlighting for over 130 languages. Color schemes, true color, and configurable settings are built in, and a plugin system lets you extend the editor using Lua, with a built-in manager for installing and updating plugins. You might reach for micro when you spend time editing files in a terminal, especially over SSH, and want something more comfortable without learning a steep set of commands. It is written in Go, cross-platform across the platforms Go supports, and licensed under MIT.

Where it fits