Command bar
Ctrl+E
Open the command bar
Tab
Autocomplete in the command bar
save <file>
Save under a new name
goto <line[:col]>
Go to a line and column
replace <search> <value>
Replace with confirmation
Add -a to replace all; -l for a literal (non-regex) search.
replaceall <search> <value>
Replace every match, no prompt
vsplit [file]
Vertical split
hsplit [file]
Horizontal split
tab [file]
Open in a new tab
textfilter <cmd>
Pipe selection through a shell command
run <cmd>
Run a shell command in the background
help <topic>
Open a help topic (keybindings, options)
Settings and plugins
set <option> <value>
Set an option and save it
setlocal <option> <value>
Set an option for this buffer only
toggle <option>
Flip an on/off option
show <option>
Show an option's value
reset <option>
Restore an option's default
showkey <key>
Show which action a key is bound to
bind <key> <action>
Rebind a key
reload
Reload settings, bindings and plugins
plugin install <name>
Install a plugin
plugin list
List installed plugins
plugin remove <name>
Remove a plugin
plugin update [name]
Update one or all plugins
comment
Comment or uncomment the line (default plugin)
lint
Check the file for errors (default plugin)
Config files
| File |
Holds |
~/.config/micro/settings.json |
Options |
~/.config/micro/bindings.json |
Custom key bindings |
~/.config/micro/plug/ |
Installed plugins |