USA

The micro editor is a terminal-based text editor designed to be simple, modern, and intuitive. Here’s an overview of its core commands and keybindings:

File Operations

  • Open File: micro <filename>
  • Save File: Ctrl-s
  • Save As: Ctrl-a
  • Quit: Ctrl-q

Cursor Movement

  • Arrow Keys: Move the cursor.
  • Home/End: Jump to the beginning/end of the current line.
  • Ctrl-Arrow Left/Right: Jump by words.
  • Ctrl-Home/End: Jump to the beginning/end of the file.
  • Page Up/Page Down: Scroll up/down by a page.

Editing Text

  • Cut Line: Ctrl-k
  • Copy Line: Ctrl-c
  • Paste: Ctrl-v
  • Undo: Ctrl-z
  • Redo: Ctrl-y
  • Select Text: Shift-Arrow Keys
  • Find: Ctrl-f
  • Find and Replace: Ctrl-f, then Ctrl-r
  • Delete Line: Ctrl-d

Indentation

  • Indent: Tab
  • Unindent: Shift-Tab

Multi-Cursor and Selection

  • Add Cursor Above/Below: Ctrl-Alt-Up/Down
  • Select All: Ctrl-a

Splits and Tabs

  • New Tab: Ctrl-t
  • Switch Tabs: Alt-Left/Right
  • Close Tab: Ctrl-w
  • Horizontal/Vertical Split: Ctrl-e and select the split option.

Command Palette

  • Command Mode: Ctrl-e (open command prompt to execute commands like open, save, etc.)

Plugins and Settings

  • Install Plugin: Ctrl-e > plugin install <plugin_name>
  • Edit Settings: Ctrl-e > set <option>=<value>

File Navigation

  • Jump to Line: Ctrl-g
  • Next/Previous File: Alt-Left/Right

Micro includes contextual help by pressing Ctrl-e and typing help.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Page dynamically generated on

Brooks Computing Systems, LLC
Quality, Reliability & Service