Skip to content

2.0.2

Choose a tag to compare

@zyedidia zyedidia released this 26 Feb 02:09
· 1243 commits to master since this release

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.

  • Search and replace improvements:
    • Regex capture groups are now supported in the 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"
      
    • Search and replace will only take effect in the current selection if one exists.
  • Option changes:
    • New xterm option (off by default) to force micro to believe the current terminal is xterm-256color. Please use with caution.
    • Make eofnewline on by default.
    • Make autosu off by default.
    • Make fastdirty off by default.
  • Correct version info for snap builds.
  • Bug fixes (and a new test suite for text transformation correctness).