Changelog History
-
v2.0.8 Changes
October 06, 2020๐ Micro 2.0.8: small release which fixes some terminal-related problems present in v2.0.7.
- ๐ Terminfo fixes
- Mouse mode in alacritty and konsole fixed.
- Modifier key detection for dynamic terminals fixed.
- Background color in terminal emulator fixed.
- Syntax highlighting improvements
- C++, Crystal, Groovy, Coffeescript.
- Parentheses no longer highlighted in default theme (makes the colors less jarring and more consistent with other themes).
- ๐ Terminfo fixes
-
v2.0.7 Changes
September 06, 2020Micro 2.0.7
- Keybindings improvements
- Key sequences can be bound with
<Key1><Key2>...
, for example<Ctrl-x><Ctrl-c>
. - Different keybindings for buffers, command bar, and terminal panes can be specified.
- See
> help keybindings
for the details and defaults. - Better support for complex keybindings.
- Function keys with modifiers.
- PgUp, PgDown, Delete... with modifiers.
- Key sequences can be bound with
- Clipboard
- Support for multiple cursors (internal clipboards for each cursor).
- Support for OSC52 (copy and paste via your terminal, which works over ssh).
- New
clipboard
option (defaultexternal
).- Set to
internal
for internal clipboard only. - Set to
external
for xclip/xsel external clipboard. - Set to
terminal
to use OSC52. - Known to work in
iTerm2
,kitty
,xterm
,st
,rxvt-unicode
. - See
> help copypaste
for details on enabling support in your terminal.
- Set to
- ๐ 24-bit color support on Windows (make sure to
set MICRO_TRUECOLOR=1
)- Doesn't work with ConEmu but works with Windows-terminal, command prompt...
- Minor changes
- Better support for obscure terminals (reading terminfo dynamically without relying on infocmp).
- Better truecolor detection.
- No duplicates in up-arrow history.
- Graceful exit when receiving SIGTERM.
- ๐ Bug fixes
- Fix path escaping on Windows.
- Fix issue when
fastdirty
is off - Syntax highlighting and linting fixes
- Keybindings improvements
-
v2.0.6 Changes
June 24, 2020Micro v2.0.6
- ๐ Improvements to the backup system.
permbackup
option (defaultoff
).backdupdir
option (default directory is~/.config/micro/backups
).
- Some new
statusformat
directives for the statusline:status.lines
,status.vcol
,status.bytes
,status.size
.
- ๐ Errors parsing
settings.json
will not cause settings to be overwritten. - ๐ Bug fixes.
- Pasting CRLF text.
- Plugin options not persisting properly.
- Backspace on Windows.
- Better test infrastructure.
- ๐ Improvements to the backup system.
-
v2.0.5 Changes
June 18, 2020Micro v2.0.5
๐ Edit: Due to a significant bug on the Windows version, please use version 2.0.6-dev.3 (attached below as 2.0.5 to avoid causing errors for automated installers) instead of 2.0.5 (for Windows only). Sorry for any inconvenience.
๐ Changelog:
- 0๏ธโฃ Micro will ensure that
settings.json
only contains non-default settings.- Settings will have default values unless overridden in
settings.json
. - Any settings with default values in
settings.json
will be removed after
modifying your settings or runningmicro -clean
.
- Settings will have default values unless overridden in
- ๐ New
relativeruler
option (defaultoff
).- Makes line numbers relative to your current cursor position.
- ๐ New
parsecursor
option forfile:line:col
syntax (defaultoff
).- Enable for previous behavior to open a file at a location.
- More consistent key labels to reduce confusion about keybindings.
- Autocompletion is more conservative and only triggers for alphanumerics.
- ๐ Performance improvements.
- 0๏ธโฃ More languages supported by the default comment plugin.
- Use
Alt-/
orCtrl-/
(new) to comment/uncomment a block of code. - Note that micro sees
Ctrl-/
as theCtrlUnderscore
event from the terminal.
- Use
- ๐ Bug fixes.
- Mouse support in command bar.
- Escape sequence handling.
- Other minor issues and improvements.
- 0๏ธโฃ Micro will ensure that
-
v2.0.4 Changes
May 23, 2020Micro v2.0.4
- ๐ Better clipboard handling for SSH sessions (use internal clipboard even if xclip/xsel is installed if no X-server is available).
- ๐ New CopyLine action (default for CtrlC with no selection).
- 0๏ธโฃ FindLiteral action for Find without regexes (unbound by default).
- ๐
tabmove
command for moving tabs. - ๐ Support for Unicode combining characters.
- ๐ Better customization for dividers with new
divchars
anddivreverse
options. - ๐ Support for italics in colorschemes.
- ๐ Bug fixes.
- Dropped redraw events.
- View relocating with a selection.
- More minor fixes.
๐ฆ 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 newv2
path for build tags. -
v2.0.3 Changes
April 10, 2020Micro 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 will output to pipes if it is on the left side of a pipe
- Running
micro | cat
will open micro and pipe the result (when the buffer is closed) tocat
. Since micro can also read from pipes, this means you can make a pipe chain interactive by placing micro in it.
- Running
- ๐ New +LINE:COL flag for opening a file at a location (file.txt:LINE:COL syntax still supported)
- ๐ Minor bug fixes
- Syntax file improvements
- Csharp-script (new)
- Sagemath (new)
- Julia
- Python 3
- ๐ Linter improvements
- Haskell
- C++
- Micro will output to pipes if it is on the left side of a pipe
-
v2.0.2 Changes
February 26, 2020Micro v2.0.2.
๐ This release contains search and replace improvements, changes to some default options, and bug fixes regarding syntax highlighting and multiple cursors.
Search and replace improvements:
- Regex capture groups are now supported in the
replace
command. Examples:
replace "(foo)" "$1-bar" replace "(foo)" "${1}-bar" replace "(?Pfoo)" "$group-bar" replace "(?Pfoo)" "$group-bar" replace "(?P\w+):\s+(?P\w+)$" "$key=$value"
- Search and replace will only take effect in the current selection if one exists.
- Regex capture groups are now supported in the
Option changes:
- New
xterm
option (off by default) to force micro to believe the current terminal isxterm-256color
. Please use with caution. - Make
eofnewline
on by default. - Make
autosu
off by default. - Make
fastdirty
off by default.
- New
๐ Correct version info for snap builds.
๐ Bug fixes (and a new test suite for text transformation correctness).
-
v2.0.1 Changes
February 12, 2020โก๏ธ 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:
- ๐ Fixed bugs in core.
- ๐ Updated documentation.
- ๐ฆ Expose
OpenLogBuf
to plugins (viabp:OpenLogBuf()
). - Clicking the arrow in the tabbar now scrolls the tabs.
- ๐ New
IndentLine
action (unbound by default). - ๐ New option
autosu
to automatically use sudo to save file if you don't have permission to save (on by default). - Pressing
esc
when prompted to reload a file will cancel the reload and all future reloads. - โก๏ธ Update to Haskell syntax file.
โก๏ธ Thanks to everyone who reported issues and contributed! Sorry for the quick update, I think things will settle down now.
-
v2.0.0 Changes
February 11, 2020๐จ 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 theplugins
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:
- ๐ Overall performance and stability improvements
- Simple autocompletion.
- Autocompletion (tab by default) will do a simple "buffer completion" which will autocomplete according to words used elsewhere in the buffer. In the future plugin support could be added along with support for interfacing with language-specific autocompletion tools.
- Automatic backups.
- Backup files are stored in
~/.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.
- Backup files are stored in
- Diff gutter
- Shows your modifications in real-time in the gutter. Integrates with git automatically. Enable with the
diffgutter
option.
- Shows your modifications in real-time in the gutter. Integrates with git automatically. Enable with the
- ๐ Configurable statusline (see the
statusformatl
andstatusformatr
options). - ๐ Configurable linter plugin (see the new
linter
docs). - Resizeable splits (click and drag on separators).
- ๐ Buffer synchronization when the same file is opened
multiple times. - ๐ Keybindings and mouse support in the command bar.
- ๐ New options:
encoding
: support for loading files in non-UTF8 encodings.backup
: performs automatic backups.diffgutter
: shows modifications in the gutter (integrates with Git).statusformatl
andstatusformatr
: 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.
- ๐ New
textfilter
command for using shell commands to help with editing. - ๐ Complete re-organization of the code to support better go modules and maintain a better directory structure.
- ๐ Better plugin interface with better access to the Go standard library and internal Micro functions (lots of documentation still needs to be written). See the new
plugins
documentation. - ๐ The plugin manager can now be used from the CLI.
- ๐ General QoL improvements and bug fixes.
- Notably the infamous autoclose plugin crash issue is fixed.
- ๐ New pre-installed colorschemes.
- darcula
- one-dark
- gotham
- sunny-day
- material-tc
- monokai-dark
- ๐ Improved Windows support.
- Many new syntax files and improvements to existing syntax files.
If you find any bugs please report them on the Github issue tracker. Enjoy!
-
v2.0.0-rc3 Changes
January 24, 2020๐ The final release candidate for micro 2.0. Micro 2.0 will be officially released in about one week (hopefully around Feb 2).