ScriptsApr 14, 2026·3 min read

micro — A Modern Terminal Text Editor That Just Works

micro is a terminal-based text editor with familiar shortcuts (Ctrl+S, Ctrl+C, Ctrl+V). No Vim/Emacs learning curve, mouse support, plugin system, syntax highlighting for 100+ languages — the modern alternative to nano.

TL;DR
micro gives you desktop-style shortcuts (Ctrl+S, Ctrl+C, Ctrl+V) in the terminal with zero learning curve.
§01

What it is

micro is a terminal-based text editor written in Go that brings desktop-style keyboard shortcuts to the command line. Instead of memorizing Vim keybindings or Emacs chords, you use Ctrl+S to save, Ctrl+C/V for clipboard, and Ctrl+Q to quit. It ships as a single binary with no dependencies.

The editor targets developers who spend most of their time in IDEs or GUI editors but occasionally need to edit files on remote servers or inside containers. If you know how to use Notepad, you know how to use micro.

§02

How it saves time or tokens

micro eliminates the context-switch penalty of learning a modal editor. When you SSH into a server and need to edit a config file, you open it with micro config.yaml and start typing immediately. No mode confusion, no accidental deletions from hitting the wrong key in the wrong mode.

For AI-assisted workflows, micro's simplicity means less time explaining editor commands to colleagues or automation scripts. The JSON-based keybinding config is also easy for AI agents to generate or modify.

§03

How to use

  1. Install micro on your platform:
# macOS
brew install micro

# Linux
curl https://getmic.ro | bash

# Or via package manager
sudo apt install micro
  1. Open any file with micro filename.txt and start editing with familiar shortcuts.
  1. Customize keybindings by editing ~/.config/micro/bindings.json.
§04

Example

# Install and open a file
brew install micro
micro ~/.zshrc

# Inside micro:
# Ctrl+S  - save
# Ctrl+Q  - quit
# Ctrl+F  - find
# Ctrl+Z  - undo
# Ctrl+D  - duplicate line or select next match
# Ctrl+E  - open command bar
# Ctrl+G  - go to line

Split panes work too:

# In micro command bar (Ctrl+E):
> hsplit filename.go
> vsplit another.go
> tab filename.rs
§05

Related on TokRepo

§06

Common pitfalls

  • micro's clipboard integration depends on xclip or xsel on Linux. Install one of them or clipboard copy/paste will silently fail.
  • The plugin system uses Lua, not Go. Do not try to write plugins in Go -- use the Lua API documented in the micro wiki.
  • On some SSH connections, mouse support can conflict with terminal multiplexers like tmux. Disable mouse in micro with set mouse false if scrolling behaves oddly inside tmux.

Frequently Asked Questions

How does micro compare to nano?+

micro supports multi-cursor editing, split panes, a plugin system, regex find-and-replace, and syntax highlighting for over 100 languages. nano covers basic editing but lacks these features. micro also uses familiar desktop shortcuts rather than nano's Ctrl+O to save convention.

Can micro replace Vim or Emacs?+

For quick file edits, yes. For power users who rely on Vim motions or Emacs Lisp extensibility daily, micro is not a substitute. micro targets the use case of editing files on servers or in containers where you want zero learning curve.

Does micro support LSP or autocomplete?+

micro has community plugins for basic autocomplete and LSP integration. Install them via the built-in plugin manager with 'plugin install'. The LSP support is functional but less mature than what VS Code or Neovim offer.

Is micro available on Windows?+

Yes. micro runs on Windows, macOS, and Linux. On Windows you can install it via Scoop or Chocolatey, or download the binary directly from the GitHub releases page.

How do I install plugins in micro?+

Open the command bar with Ctrl+E and type 'plugin install plugin-name'. Available plugins are listed in the official micro plugin channel on GitHub. Popular ones include filemanager (tree view), fzf (fuzzy finder), and lsp.

Citations (3)

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets