Micro: Making File Editing Easier in Linux Terminal

Easier than Nano and definitely a lot easier than Vim and Emacs.
Warp Terminal

While modern open source code editors have taken the programming world by storm, Linux command line is still ruled by a selected set of text editors. Popular command line editors like Vim and Emacs are also infamous for their weird keyboard shortcuts.

There are several jokes about those weird keyboard shortcuts in the programming world. Exiting Vim is perhaps the most common of them all. Here’s an example.

vim shortcut linux humor

Micro is a modern terminal-based text editor that attempts to take the pain of keyboard shortcuts and provide popular shortcuts as well as mouse supports.

Micro is made with the GO Programming Language. It’s actively being developed by Zachary Yedidia and many other open source enthusiasts are contributing to it.

According to Micro’s GitHub project documentation,

Micro aims to be easy to use and intuitive, while also taking advantage of the full capabilities of modern terminals.

And that’s true. You’re probably wondering what’s special about this one, there are plenty of other terminal-based text editors out there. The answer is that Micro is so easy to use that the learning curve is almost flat, you don’t need to learn anything new, and it has some very interesting features.


Micro editor interface

Some of the main highlights of the Micro editor are:

  • Support for universal keyboard shortcuts (Ctrl-S, Ctrl-C, Ctrl-V, Ctrl-Z etc.)
  • Syntax highlighting ( for over 130 languages)
  • Color scheme and True Color support
  • Search and Replace feature
  • Common editor features such as Undo and Redo, Unicode support, Line numbering, Soft wrapping etc.
  • Copy and Paste from the system clipboard
  • Configurable
  • Simple auto-completion.
  • Splits and tabs
  • Good Mouse Support such as drag to select, double click to select a word, triple-click to select by line etc.
  • Plug-in support and a built-in plugin manager to automatically install, remove, and update plugins.
  • Macros
  • Cross Platform


Micro is available in the repositories of all major distributions. In Ubuntu, you can install it with:

sudo apt install micro

This will install xclip as a dependency for clipboard functionality.

Additionally, you can download the pre-built binary from the link below:

Download Micro

Once you download it, extract the file and you’ll find the binary file inside it. Copy this binary file to your /bin directory. And then, you can run it in the terminal using the command “micro”.

For clipboard support, you need xclip and xsel packages. In Ubuntu and other Ubuntu based Linux distributions, you can use the following command to install it:

sudo apt install xclip

For detailed information on configuring Micro, see here.

micro terminal text editor split view with multiple files opened
Micro Terminal Text Editor split view with multiple files opened

Essential commands and shortcuts

Open a File in Micromicro [FILENAME]
To List Available Plug-Insmicro -plugin available
To Install a  Plug-Inmicro -plugin install [PLUGIN]
To Remove a Plug-Inmicro -plugin remove [PLUGIN]
To Execute a Command inside MicroCtrl + E
To Split open a file Horizontally through commandhsplit [FILENAME]
To Split open a file Vertically through commandvsplit [FILENAME]
To get Help inside Micro EditorCtrl + G
To Save a FileCtrl + S
To Copy Text Inside MicroCtrl + C
To Paste Text Inside MicroCtrl + V
To Close Micro EditorCtrl + Q
To Move Through Available CommandsTAB (Shift + Tab for reverse direction)

Thoughts about Micro?

I think that Micro’s a pretty good tool for text editing. Though it’s not feature-rich like Vim or other mature text editors, it can easily replace tools like Nano for occasional file editing in the terminal.

If you often have to edit files in the terminal but you don’t feel too comfortable with Vim, give it a try and tell us about your experience.

About the author


Linux tinkerer by day, Lord of the Rings fanatic by night. When I'm not busy conquering the command line, you can find me kicking back and watching some football while quoting JRR Tolkien

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.