A modern and intuitive terminal-based text editor
open sourceMITfree
micro is a terminal text editor that aims to be as easy as a desktop editor: common keybindings like Ctrl-S, Ctrl-C and Ctrl-Z, full mouse support for selecting text, a nano-like menu and sane defaults, in a single static Go binary with no dependencies. It has Sublime-style multiple cursors, splits and tabs, syntax highlighting for over 130 languages, true-colour themes, system clipboard copy and paste, persistent undo, macros, a diff gutter, simple autocompletion, automatic linting and a built-in terminal emulator. Options and keybindings are JSON, and Lua plugins installed through its plugin manager extend it. It runs on Linux, macOS, Windows and the other platforms Go supports.
Problems it solves
- a terminal text editor that's easier than vim or nano
- edit files over SSH with normal Ctrl-C and Ctrl-V shortcuts
- a terminal editor with mouse support and multiple cursors
- a single-binary editor I can drop onto any server
- replace nano with something more modern
Features
- common keybindings, rebindable in JSON
- full mouse support
- multiple cursors
- splits and tabs
- syntax highlighting for 130+ languages
- 16, 256 and true colour themes
- system clipboard
- persistent undo and macros
- diff gutter, autocompletion and automatic linting
- built-in terminal emulator
View 2 more
- Lua plugins with a plugin manager
- single static binary, no dependencies
Limitations
- Mingw and Cygwin are not supported on Windows1
- macOS terminals don't forward Alt key events by default1
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what micro does.
- Microsoft Edit A simple, modeless terminal text editor from Microsoft, an homage to MS-DOS Editor
- Neovim hyperextensible Vim-based text editor
- Vim Vim - the ubiquitous text editor
- Kakoune Modal code editor built around multiple selections, inspired by Vim
- Helix Post-modern modal text editor for the terminal
- GNU Emacs An extensible, customizable, free/libre text editor — and more
