micro Changelog

What's new in micro 2.0.13

Oct 22, 2023
  • Introduced new reload option to control file reloading behavior when files are updated externally.
  • Bug fix for term command.
  • Minor bug fixes.

New in micro 2.0.12 (Sep 6, 2023)

  • New features and fixes:
  • Adds fakecursor option.
  • Adds HistorySearchUp and HistorySearchDown actions.
  • Adds scrollbarchar option.
  • Adds -multiopen flag.
  • Save with sudo for large files fixed.
  • Syntax highlighting engine improvements.
  • Many minor bug fixes and highlighting adjustments/improvements (new languages and fixes).
  • Thanks to all contributors who continue to help with Micro development! Special thanks to @dmaluka for helping to review issues and PRs.

New in micro 2.0.11 (Aug 1, 2022)

  • This is a minor version update to micro including the following general changes:
  • Support for clipboard in WSL via clip.exe.
  • New hlsearch option to highlight search results.
  • Fixes for OSC52 clipboard support.
  • Syntax highlighting fixes, improvements, and new languages.
  • Rust clippy and go vet linters.
  • Switch to using go embed instead of go-bindata.
  • Bug fixes.

New in micro 2.0.10 (Aug 7, 2021)

  • Bug fixes
  • Opening a readonly file now only causes a warning
  • Bracketed paste fix
  • Terminal title fix
  • Allow opting out of loading a backup file
  • Default binding of Alt-Shift-f (Alt-F) for FindLiteral
  • Find will prefill with selected text
  • Syntax highlighting improvements (for nix, racket, v, rust, cpp, erlang, nim)
  • Minor documentation improvements
  • Shellcheck linter support

New in micro 2.0.9 (May 17, 2021)

  • Softwrap improvements (thanks to @dmaluka):
  • New wordwrap option.
  • Several bug fixes and improvements to navigation.
  • Small bug fixes

New in micro 2.0.8 (Oct 6, 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).

New in micro 2.0.7 (Sep 7, 2020)

  • 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.
  • 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 (default external).
  • 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.
  • 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).
  • 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

New in micro 2.0.6 (Jun 24, 2020)

  • Improvements to the backup system:
  • permbackup option (default off).
  • 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.

New in micro 2.0.5 (Jun 18, 2020)

  • 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 running micro -clean.
  • New relativeruler option (default off):
  • Makes line numbers relative to your current cursor position.
  • New parsecursor option for file:line:col syntax (default off):
  • 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.
  • More languages supported by the default comment plugin:
  • Use Alt-/ or Ctrl-/ (new) to comment/uncomment a block of code.
  • Note that micro sees Ctrl-/ as the CtrlUnderscore event from the terminal.
  • Bug fixes:
  • Mouse support in command bar.
  • Escape sequence handling.
  • Other minor issues and improvements.

New in micro 2.0.4 (May 24, 2020)

  • 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).
  • 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 and divreverse options.
  • Support for italics in colorschemes.
  • Bug fixes:
  • Dropped redraw events.
  • View relocating with a selection.
  • More minor fixes.

New in micro 2.0.3 (Apr 11, 2020)

  • New +LINE:COL flag for opening a file at a location (file.txt:LINE:COL syntax still supported)
  • 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) to cat. Since micro can also read from pipes, this means you can make a pipe chain interactive by placing micro in it.
  • Minor bug fixes:
  • Syntax file improvements
  • Csharp-script (new)
  • Sagemath (new)
  • Julia
  • Python 3
  • Linter improvements
  • Haskell
  • C++

New in micro 2.0.2 (Feb 27, 2020)

  • Search and replace improvements:
  • Regex capture groups are now supported in the replace command.
  • 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).

New in micro 2.0.1 (Feb 13, 2020)

  • Changelog:
  • Fixed bugs in core.
  • Updated documentation.
  • Expose OpenLogBuf to plugins (via bp: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.

New in micro 1.4.1 (Aug 10, 2018)

  • Release v1.4.1: a long overdue release.
  • New syntax for opening files at a specific line
  • micro file.txt:line:col
  • New hidehelp option
  • Fix for "text file busy"
  • Fix for "terminal entry not found" without need for mkinfo
  • Ctrl-X acts like Ctrl-k when nothing is selected
  • Many small bug fixes and optimizations

New in micro 1.4.0 (May 24, 2018)

  • Terminal emulator within micro:
  • Use the term command to open a shell
  • Use term ... to start the emulator with a custom process
  • Only supported on MacOS, Linux, OpenBSD, FreeBSD, Dragonfly
  • Lua system for interfacing with the emulator as well
  • Brace highlighting:
  • Use the matchbrace option (off by default
  • New JumpToMatchingBrace action
  • New raw command:
  • Using this command will show all escape sequences micro is using
  • Useful for debugging
  • New showkey command
  • See what action a key is bound to
  • ReplaceMode (bound to insert key by default
  • Bind keys to actions
  • Use command:... as an action to bind a command
  • Use command-edit:... as an action to bind a command prompt
  • Optimization for saving large files
  • New basename option for the path shown in the status bar
  • New railscast colorscheme
  • New SelectLine action
  • Support line:col syntax in JumpLine
  • Prompt to create parent folders if they don't exist when saving
  • Syntax highlighting improvements:
  • Javascript
  • Git-commit
  • Julia
  • Lua
  • Makefile
  • Bug fixes