micro [command]

A modern and intuitive terminal-based text editor

Arguments

NameDescription
commandfilepaths

Subcommands

NameDescription
--pluginManage plugins

Options

NameDescription
--cleanCleans the configuration directory
--config-dir <command>Specify a custom location for the configuration directory
--optionsShow all option help
--debugEnable debug mode
--versionShow the version number and information
--autoindent <command>When creating a new line, use the same indentation as the previous line
--autosave <command>Automatically save the buffer every <n> seconds. If set to 0, no autosaving is performed
--autosu <command>Automatically attempt to use super user privileges to save without asking
--backup <command>Automatically keep backups of all open buffers
--backupdir <command>The directory to place backups in
--basename <command>In the infobar and tabbar, show only the basename of the file being edited rather than the full path
--clipboard <command>Apecifies how the system clipboard should be accessed
--colorcolumn <command>Display a color at the specified column if not set to 0
--colorscheme <command>Loads the colorscheme stored in $(configDir)/colorschemes/<scheme>.micro
--cursorline <command>Highlight the line that the cursor is on in a different color
--diffgutter <command>Display diff indicators before lines
--divchars <command>Specifies the divider characters used for the dividing line between vertical/horizontal splits (the first character is for vertical dividers, and the second is for horizontal dividers)
--divreverse <command>Reverse colors specified by the colorscheme
--encoding <command>The encoding to open and save files with
--eofnewline <command>Automatically add a newline to the end of the file if one does not exist
--fastdirty <command>Use 'fast dirty' algorithm to determine if a buffer is modified or not
--fileformat <command>Type of line endings to be used for the file
--filetype <command>File type for the current buffer
--ignorecase <command>Perform case-insensitive searches
--incsearch <command>Enable incremental search in "Find" prompt
--indentchar <command>Sets the indentation character
--infobar <command>Enables the line at the bottom of the editor where messages are printed
--keepautoindent <command>Remove trailing whitespace from a line with no insertions when moving to the next line
--keymenu <command>Display the nano-style key menu at the bottom of the screen
--matchbrace <command>Underline matching braces for '()', '{}', '[]' when the cursor is on a brace character
--mkparents <command>Allow parent directories to be created automatically when opening a file on a path that doesn't exist
--mouse <command>Enable mouse support
--paste <command>Treat characters sent from the terminal in a single chunk as a paste event rather than a series of manual key presses
--parsecursor <command>Parse filenames such as file.txt:10:5 as requesting to open file.txt with the cursor at line 10 and column 5
--permbackup <command>Cause backups to be permanently saved
--pluginchannels <command...>List of URLs pointing to plugin channels for downloading and installing plugins
--pluginrepos <command...>A list of links to plugin repositories
--readonly <command>Disallow edits to the buffer
--relativeruler <command>Make line numbers display relatively
--rmtrailingws <command>Automatically trim trailing whitespaces at ends of lines
--ruler <command>Display line numbers
--savecursor <command>Remember where the cursor was last time the file was opened and put it there when re-opened
--savehistory <command>Remember command history between closing and re-opening micro
--saveundo <command>Remember undo state between closing and re-opening a file
--scrollbar <command>Display a scroll bar
--scrollmargin <command>Margin at which the view starts scrolling when the cursor approaches the edge of the view
--scrollspeed <command>Number of lines to scroll for one scroll event
--smartpaste <command>Add leading whitespace when pasting multiple lines
--softwrap <command>Wrap lines that are too long to fit on the screen
--splitbottom <command>When a horizontal split is created, create it below the current split
--splitright <command>When a vertical split is created, create it to the right of the current split
--statusformatl <command>Format string definition for the left-justified part of the statusline
--statusformatr <command>Format string definition for the right-justified part of the statusline
--statusline <command>Display the status line at the bottom of the screen
--sucmd <command>The super user command
--syntax <command>Enables syntax highlighting
--tabmovement <command>Navigate spaces at the beginning of lines as if they are tabs
--tabsize <command>The size in spaces that a tab character should be displayed with
--tabstospaces <command>Use spaces instead of tabs
--useprimary <command>Use the primary clipboard to copy selections in the background
--wordwrap <command>Wrap long lines by words
--xterm <command>Assume that the terminal conforms to xterm-256color regardless of what the $TERM variable actually contains