A modern and intuitive terminal-based text editor
Micro v2.0.4
tabmove
command for moving tabs.divchars
and divreverse
options.Note for package maintainers: build paths were changed in this version to conform with the go.mod
specification for projects with a semantic version >=2.0.0
(see #1638). If you are building micro, it is highly recommended that you use the provided makefile, or update your build scripts to build with the new v2
path for build tags.
Micro 2.0.3
This is a relatively minor update. For the next large update (2.1.0) I hope to provide improvements to the keybinding system and a (light and optional) Vim keybinding plugin.
v2.0.3 changelog:
micro | cat
will open micro and pipe the result (when the buffer is closed) to cat
. Since micro can also read from pipes, this means you can make a pipe chain interactive by placing micro in it.Micro v2.0.2.
This release contains search and replace improvements, changes to some default options, and bug fixes regarding syntax highlighting and multiple cursors.
replace
command. Examples:
> replace "(foo)" "$1-bar"
> replace "(foo)" "${1}-bar"
> replace "(?P<group>foo)" "$group-bar"
> replace "(?P<group>foo)" "$group-bar"
> replace "(?P<key>\w+):\s+(?P<value>\w+)$" "$key=$value"
xterm
option (off by default) to force micro to believe the current terminal is xterm-256color
. Please use with caution.eofnewline
on by default.autosu
off by default.fastdirty
off by default.Day one patch for micro 2.0! This update includes important bug fixes and minor improvements.
Click here for the micro 2.0 changelog.
Changelog:
OpenLogBuf
to plugins (via bp:OpenLogBuf()
).IndentLine
action (unbound by default).autosu
to automatically use sudo to save file if you don't have permission to save (on by default).esc
when prompted to reload a file will cancel the reload and all future reloads.Thanks to everyone who reported issues and contributed! Sorry for the quick update, I think things will settle down now.
The micro codebase has been refactored and is now better than ever! Micro 2.0 is an internal overhaul, with many new features as well.
This new version introduces breaking changes to the plugin API, though nearly all official plugins have been updated with 2.0 support. From now on, all plugins are placed in ~/.config/micro/plug
to avoid loading/conflicting with old plugins. This is handled automatically by the plugin manager.
Please use the -clean
flag when upgrading to micro 2.0 to clean out your configuration directory. This will remove unused options, remove the plugins
directory if it exists, and remove any non-compliant file formats from ~/.config/micro/buffers
, which stores buffer information for persistent undo and cursor history.
Below is the changelog for micro 2.0:
~/.config/micro/backups
for every open buffer and are saved roughly every 8 seconds if the buffer is being modified. Backups are removed when the buffer is closed, but if micro or the system crashes, any unsaved changes can be recovered by re-opening the file (micro will auto- recover) or by manually viewing the backup in the ~/.config/micro/backups
directory.diffgutter
option.statusformatl
and statusformatr
options).linter
docs).encoding
: support for loading files in non-UTF8 encodings.backup
: performs automatic backups.diffgutter
: shows modifications in the gutter (integrates with Git).statusformatl
and statusformatr
: options for customizing the look of the status line (left and right sides).paste
: tells micro a paste event is happening. Enable this before doing a paste through the terminal, and disable afterwards. See > help copy-paste
for extensive details.smartpaste
: attempts to preserve correct indentation when pasting.textfilter
command for using shell commands to help with editing.plugins
documentation.If you find any bugs please report them on the Github issue tracker. Enjoy!
The final release candidate for micro 2.0. Micro 2.0 will be officially released in about one week (hopefully around Feb 2).
Release v1.4.1: a long overdue release.
micro file.txt:line:col
hidehelp
optionCtrl-X
acts like Ctrl-k
when nothing is selectedRelease v1.4.0
term
command to open a shellterm ...
to start the emulator with a custom processmatchbrace
option (off by default)JumpToMatchingBrace
actionraw
command
showkey
command
command:...
as an action to bind a commandcommand-edit:...
as an action to bind a command promptbasename
option for the path shown in the status barrailscast
colorschemeSelectLine
actionline:col
syntax in JumpLine
Micro version 1.3.4.
See the readme for installation instructions.
This release fixes some bugs and makes a number of small improvements.
scrollbar
option (off by default)
savehistory
option (on by default)
Alt-g
to enableAlt-{
and Alt-}
retab
command will convert tabs to spaces or vice versa depending on
your tabstospaces
settingreplace
command now accepts the -l
flag for 'literal'
splitRight
-> splitright
splitBottom
-> splitbottom
sucmd
option for customizing "save with sudo" (some systems use a different command from sudo
).twilight
colorschemeMicro version 1.3.3
This release fixes some bugs and makes small improvements.
fastdirty
option to off
(on
by default)