Releases: zyedidia/micro
1.3.2
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")
- Simply import go packages:
- 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
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
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
- New actions that can be bound:
- Expanded keybinding support
- Mouse buttons can be bound
MouseLeft
MouseRight
MouseMiddle
MouseWheelUp
MouseWheelDown
MouseWheelLeft
MouseWheelRight
- Characters can be bound
- Support for CtrlPgUp and CtrlPgDown
- Mouse buttons can be bound
- 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
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 thesyntax_converter.go
program in theruntime/syntax
folder
- The old format is no longer supported but you can convert
- 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...
- Syntax files now use the
- Tab scrolling
termtitle
option: when enabled, micro will set the terminal's titleSaveAll
action to save all buffers at onceSuspend
action (Linux only) which can be bound toCtrlZ
- 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
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
- 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
Micro version 1.1.3
Changelog:
- Plugin API
plugin available
command to show which plugins can be installedByteOffset
andToCharPos
functions addedJobSpawn
: likeJobStart
but takes arguments separatelytab.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
andpwd
commands to manage the working directoryopen
command added and bound toCtrlO
- Splits can be created either way with
splitRight
andsplitBottom
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
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
1.1.0
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
- You can install, remove, update, list, or search for plugins using
- 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
- The
- 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
- See the logs with the
- Configuration files now use json5 instead of json
- New colorcolumn option
- For example: highlight column 80 with
set colorcolumn 80
- For example: highlight column 80 with
- New
eval
command to quickly execute lua code- Try
> eval "CurView():VSplit(NewBuffer('', 'Test'))"
- Try
- 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 terminalCtrlH
may be the same as backspace)- Use
Backspace
for backspace instead ofBackspace2
when creating keybindings
- Use
- 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
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)
- Now says
- 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.