micro is a tiny cmdline text editor written in Go. It works with modern terminal emulators and if you are looking for an alternative to editors like vi for regular usage, you may give micro a try. The editor is under heavy development at the time of writing.
- Easy to use
- Common keybindings (ctrl-s, ctrl-c, ctrl-v, ctrl-z…)
- Supports pipied data from stdin
- Mouse support
- Syntax highlighting (in over 75 languages!)
- Colorscheme support
- True color support (set the MICRO_TRUECOLOR env variable to 1 to enable it)
- Search and replace
- Undo and redo
- Unicode support
- Copy and paste with the system clipboard
- Small and simple
- Supports Linux, Windows and Mac
To install micro on Ubuntu, download the package for your architecture from the project’s GitHub page (linked below). Extract and run the install.sh script.
For cut, copy, paste support, install xsel:
$ sudo apt-get install xsel
To start micro, run: $ micro
To execute a command, press Ctrl-e. Then set the command, e.g.: set tabsize 8 set syntax off set colorscheme solarized set colorscheme solarized-tc
Configuration settings are stored in ~/.micro/settings.json.
On GitHub: micro