Micro Editor Cheatsheet

Common key combinations (keybindings)

The Micro editor is a modern and easy-to-use terminal-based text editor with mouse support.

ActionKey Combination
File Operations
Open FileCtrl + O
Save FileCtrl + S
Save AsCtrl + Shift + S
Close FileCtrl + Q
Quit MicroCtrl + Q (twice if unsaved changes)
Editing
UndoCtrl + Z
RedoCtrl + Y
Cut LineCtrl + K
Copy LineCtrl + C
PasteCtrl + V
Delete LineCtrl + D
Select AllCtrl + A
Navigation
Move to Start of LineHome or Ctrl + A
Move to End of LineEnd or Ctrl + E
Move to Start of FileCtrl + Home
Move to End of FileCtrl + End
Search and Replace
FindCtrl + F
Find NextCtrl + N
Find PreviousCtrl + P
ReplaceCtrl + R
Miscellaneous
Open Command PromptCtrl + E
Toggle Line NumbersAlt + N
Toggle Soft WrapAlt + Z

Further customize keybindings by modifying the configuration file (~/.config/micro/bindings.json). Additionally, the keybindings may vary slightly depending on your operating system or terminal emulator.

additional commands and keybindings that can enhance your editing experience.

ActionKey Combination
Cursor Movement
Move LeftLeft Arrow
Move RightRight Arrow
Move UpUp Arrow
Move DownDown Arrow
Move Word LeftCtrl + Left Arrow
Move Word RightCtrl + Right Arrow
Page UpPage Up
Page DownPage Down
Editing
Duplicate LineCtrl + D
Comment/Uncomment LineCtrl + /
Indent LineTab
Unindent LineShift + Tab
Selection
Select WordCtrl + W
Select LineCtrl + L
Select to Start of LineShift + Home
Select to End of LineShift + End
Clipboard
Copy SelectionCtrl + C
Cut SelectionCtrl + X
Window Management
New TabCtrl + T
Next TabCtrl + Tab
Previous TabCtrl + Shift + Tab

These are just some additional commands available in Micro. The editor is highly customizable, and you can add or change keybindings according to your preferences by editing the configuration files.

Plugins

Additionally, Micro supports plugins that can extend its functionality even further. To explore more about what Micro can do, you can access its built-in help by pressing Ctrl + G.

  1. Micro’s Official Plugin Repository:
  2. Within Micro:
    • You can also install plugins directly from within the Micro editor itself. Use the > plugin command to list, search, and install plugins.
    • Simply open Micro and press Ctrl + E to bring up the command prompt, then type plugin install <plugin-name> to install a specific plugin.