LinuxCommandLibrary

micro

modern terminal text editor

TLDR

Open file

$ micro [file.txt]
copy
Open at line
$ micro [file.txt]:[line]
copy
Open multiple files
$ micro [file1.txt] [file2.txt]
copy
Diff files
$ micro -diff [file1] [file2]
copy
Read-only mode
$ micro -readonly [file.txt]
copy
Show version
$ micro -version
copy

SYNOPSIS

micro [options] [files]

DESCRIPTION

micro is a modern terminal text editor. It provides intuitive keybindings and mouse support.
The tool is easy to use like nano but more powerful. Supports syntax highlighting and plugins.

PARAMETERS

FILES

Files to edit.
-diff F1 F2
Diff two files.
-readonly
Read-only mode.
-plugin CMD
Plugin management.
-version
Show version.
--help
Display help information.

CAVEATS

Go-based. Plugin system available. Different from vim/emacs.

HISTORY

Micro was created by Zachary Yedidia as a modern, intuitive alternative to nano and vim.

SEE ALSO

nano(1), vim(1), emacs(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community