Skip to content

Releases: zyedidia/micro

1.3.2

15 Sep 20:14
Compare
Choose a tag to compare

Micro version 1.3.2.

This release contains mostly bug fixes. The only interesting new features are support for crlf/lf (unix vs dos) line endings and access to the Go standard library for Lua plugins.

  • Add support for crlf and lf
  • Lua now has access to most of the Go standard library
    • Simply import go packages: local fmt = import("fmt")
  • Syntax highlighting
    • Julia support
    • Improved yaml highlighting
  • Bug fixes for multiple cursors
  • Bug fixes for undo/redo
  • Add a new --config-dir option to set a custom location for the configuration directory

1.3.1

08 Aug 15:09
Compare
Choose a tag to compare

This is a small release to fix some of the issues from 1.3.0.

Changelog:

  • Add support for the Suspend action for OSX and BSDs (still supported on Linux as well)
  • Multiple cursors merge if you spawn multiple with the mouse in the same place
  • Fixes to tcell and pasting
  • Micro won't write your settings if there was an error when loading settings.json.

1.3.0

29 Jul 18:31
Compare
Choose a tag to compare

Micro version 1.3.0

The largest change in this version is the new multiple cursor support.

Changelog:

  • Dependencies distributed as submodules
  • Multiple cursors
    • New actions that can be bound:
      • SpawnMultiCursor default binding: Alt-n
      • RemoveMultiCursor default binding: Alt-p
      • RemoveAllMultiCursors default binding: Alt-c
      • SkipMultiCursor default binding: Alt-x
      • MouseMultiCursor default binding (can only be bound to mouse buttons): Ctrl-MouseLeft
  • Expanded keybinding support
    • Mouse buttons can be bound
      • MouseLeft
      • MouseRight
      • MouseMiddle
      • MouseWheelUp
      • MouseWheelDown
      • MouseWheelLeft
      • MouseWheelRight
    • Characters can be bound
    • Support for CtrlPgUp and CtrlPgDown
  • Various syntax highlighting improvements
    • Vala improvements
    • C improvements
    • New Twig syntax
    • New Darcula colorscheme
  • Improved search and replace
    • Default now will ask for each replacement
    • Use -a flag to replace all
  • No more 1/10th second delay when quitting and using alt keys
  • Bug fixes

A lot changed under the hood with this version so there may be more bugs I'm not aware of. Please report them if you find any!

1.2.0

27 May 21:19
Compare
Choose a tag to compare

Micro version 1.2.0.

There have been a ton of commits since the last release.

The biggest change in this version is the new syntax highlighting engine (see below).

Hopefully everything goes well! Please report any bugs you might find.

  • Complete refactor and overhaul of the syntax highlighting engine
    • Syntax files now use the yaml format
      • The old format is no longer supported but you can convert
        old syntax files to the new format by using the syntax_converter.go
        program in the runtime/syntax folder
    • New support for syntax "regions"
    • Support for embedding languages in each other
    • Highlighting should be much more accurate (especially for large files)
    • All syntax files (the obscure languages) now support colorschemes
    • Many new languages/improvements to old syntax files
      • Kotlin
      • C++
      • R
      • Go
      • Nim
      • Swift
      • and more...
  • Tab scrolling
  • termtitle option: when enabled, micro will set the terminal's title
  • SaveAll action to save all buffers at once
  • Suspend action (Linux only) which can be bound to CtrlZ
  • Various bugs with resizing, search, prompts and more have been fixed
  • Unicode support for autoclose plugin
  • tabswitch command to change tabs without using the mouse
  • Snap installation
  • More default bindings
  • More efficient search and replace
  • View refactor
    • Under the hood improvements
  • Support for Literate

1.1.4

10 Feb 15:51
Compare
Choose a tag to compare

Micro version 1.1.4

Changelog:

  • New rmtrailingws option (off by default)
  • New keepautoindent option (off by default)
  • New linters
    • Nim
    • Objective-C
  • Improved syntax files
    • toml
    • Go
    • Nim
    • Solidity
    • Pony
    • Pascal
    • PHP
    • Mail
    • Micro
  • Plugin API
    • JobStart uses shell to parse
    • JobSpawn should be used for direct executable invocation
  • Improved key unbinding
  • Bug fixes
    • Opening a directory doesn't crash
    • Minor mouse clicking bug
    • and more

1.1.3

06 Dec 16:12
Compare
Choose a tag to compare

Micro version 1.1.3

Changelog:

  • Plugin API
    • plugin available command to show which plugins can be installed
    • ByteOffset and ToCharPos functions added
    • JobSpawn: like JobStart but takes arguments separately
    • tab.CurView is now public
  • New default ftoptions plugin to automatically set options for some filetypes (e.g. tabstospaces off for makefiles)
  • It is possible to resize splits via lua scripting
  • cd and pwd commands to manage the working directory
  • open command added and bound to CtrlO
  • Splits can be created either way with splitRight and splitBottom commands
  • Syntax files
    • Crystal language
    • TeX updated to use colorschemes
    • Pony language
    • VHDL
    • Objective C
    • Python 3 (separate from Python 2)
  • File reading optimization

And many bug fixes as well

1.1.2

24 Oct 13:09
Compare
Choose a tag to compare

Micro version 1.1.2

Changelog:

  • Make Monokai the default colorscheme
  • Add MoveLinesUp and MoveLinesDown actions
    • Bound to Alt-up and Alt-down by default
  • Softwrap option
  • Improved search and replace
    • Some bugs with regex were fixed
    • More intuitive behavior when cancelling search
  • Add OutdentLine action
  • Some syntax file updates
    • Dockerfile
    • Yaml
    • TypeScript
  • Add reload command to reload the runtime files without restarting the editor
  • Add eofnewline option to automatically add make sure files end in newlines
  • Improve Windows support
    • Colors when using certain Windows terminals are no longer reset
    • Mouse tracking now works properly with PuTTY

There have been many smaller bug fixes as well.

1.1.1

10 Oct 22:44
Compare
Choose a tag to compare

Micro version 1.1.1

This is a pretty small update:

Changelog:

  • Fixed a bug which caused the plugin manager to crash
  • Fixed a bug causing cursor not to display in certain terminals

1.1.0

07 Oct 01:04
Compare
Choose a tag to compare

Micro version 1.1.0

Here's the summary of the 129 commits since the version 1.0.3.

Changelog:

  • Plugin Manager
    • You can install, remove, update, list, or search for plugins using > plugin ....
    • List of official plugins can be found here
    • For more information read the end of > help plugins and also > help commands
  • Snippets Plugin
    • Provides snippets for many languages. Uses snippet files found here.
    • Install with > plugin install snippets
  • Add SaveAs keybinding action
    • The save command can also take an argument to save as
  • Performance improvements
    • Faster handling of xml and html
    • Search and replace is much faster
  • Runtime files change
    • Plugins can access runtime files
    • Plugins can add their own runtime files
    • Internal handling of runtime files is much improved
  • Mouse support and more keybindings in command mode
  • Messages are now logged
    • See the logs with the > log command
  • Configuration files now use json5 instead of json
  • New colorcolumn option
    • For example: highlight column 80 with set colorcolumn 80
  • New eval command to quickly execute lua code
    • Try > eval "CurView():VSplit(NewBuffer('', 'Test'))"
  • Allow a buffer to be opened in two splits at the same time (edits will happen in both splits)
  • Version numbers are now even more informative
  • Unsplit action
    • Closes all splits except for the active one
  • Fix some issues recognizing CtrlH as a binding (depending on the terminal CtrlH may be the same as backspace)
    • Use Backspace for backspace instead of Backspace2 when creating keybindings
  • Some bugfixes regarding using splits and tabs together
  • Autosave option which will automatically save in the background and always save and quit
    • Use with caution as it will save the file, overwriting the previous copy, without asking
  • Plugins can now provide a completion function for the commands they create

And there have been many smaller bug fixes as well.

1.0.3

07 Sep 01:56
Compare
Choose a tag to compare

Micro version 1.0.3

Changelog:

  • Macros
  • Support for both 'clipboard' and 'primary' clipboard on Linux
  • Change unsaved changes prompt
    • Now says Save changes to filename before closing? (y,n,esc)
  • Syntax file improvements
    • Pascal
    • Typescript
    • PHP improvements
    • CSS improvements
  • Plugin API improvements
    • Plugins can create custom autocomplete functions for commands
    • HandleShellCommand returns the stdout of the command
    • (*View).Open(filename string) for opening files easily

And many bug fixes as well.