micro 2.0.15
像记事本一样好上手的终端编辑器。
绿色版WindowsMIT
软件简介
micro 支持 Ctrl+S、Ctrl+C 等常用快捷键和鼠标操作,适合不想学 Vim 的人。
功能特点
- 常用快捷键
- 鼠标支持
- 语法高亮
- 单文件
更新日志 · 2.0.15
Micro 2.0.15
Get well into 2026 and have a happy new year! :fireworks:
What's Changed
New options
truecolor(supersedes theMICRO_TRUECOLORenvironment variable) (by @JoeKar in #2867)showchars(deprecatesindentchar) (by @Neko-Box-Coder in #3760)lockbindingsfor completely disallowing plugins to modify keybindings (by @Neko-Box-Coder in #3618)helpsplitfor changing default split type for thehelpcommand (by @JoeKar in #3502)pageoverlapfor setting number of lines kept during page up/page down (by @nimishjha in #3518)
New actions
FirstTab,LastTab,FirstSplitandLastSplit(by @masmu in #3403)- Note: also changed the behavior of
NextTab,PreviousTab,NextSplit,PreviousSplit - But adjusted the default keybindings so the default behavior remains unchanged
SkipMultiCursorBackas a counterpart toSkipMultiCursor(by @masmu in #3404)CursorToViewTop,CursorToViewCenter,CursorToViewBottom(by @nimishjha in #3506)Duplicatefor duplicating the selection only, not the whole line (by @dmaluka in #3335)
Improved actions
- Improve and unify
CopyLine,CutLine,DeleteLine,DuplicateLineactions (by @dmaluka in #3335 and #3519) - Note: changed the behavior of those actions
- But also adjusted the default keybindings so the default behavior remains unchanged
- Restore pre-2.0.14 behavior of
SpawnMultiCursor{Up,Down}(by @dmaluka in #3503) - Nano-like page up/page down functionality (by @nimishjha in #3518 and @dmaluka in #3555)
Lua improvements
- Plugins never write to
settings.jsonorbindings.jsonanymore (by @Neko-Box-Coder in #3618) - Add
onBufferOptionChangedcallback (by @JoeKar in #2962) - Add
SpawnCursorAtLoc()(by @Neko-Box-Coder in #3441) - Expose bufpane's
DoubleClickandTripleClickto plugins (by @cutelisp in #3720) - Pass mouse info to
{on,pre}MouseXXXcallbacks (by @dmaluka in #3779) - Support
gotostatement from Lua 5.2 (by @matthias314 in #3597)
Syntax highlighting improvements
- Haskell syntax: various improvements and fixes (by @Andriamanitra in #3373)
- Rust syntax:
- Recognize byte strings and C strings (by @jmcorey in #3452)
- Add more keywords and types (by @edwloef in #3677 and @codemanticism in #3759)
- C++ syntax:
- Highlight binary and hex literals with single-quote separator per C++14 (by @Neko-Box-Coder in #3310, #3870, #3891)
- Highlight
autoas data type per C++17 (by @2013ZRZ in #3836) - Improve C++ filetype detection by using more keywords (by @Neko-Box-Coder in #3310)
- Shell syntax:
- Correctly match parameter expansions without braces (by @niten94 in #3663)
- Match variables with leading underscore (by @Andriamanitra in #3833)
- Match --options-with-hyphens (by @nabeelsherazi in #3863)
- Asm syntax: highlight C-like comments (by @dmaluka in #3696)
- Ruby syntax: highlight predefined variables (by @Andriamanitra in #3778)
- CSS syntax: add more commands (by @mystieneko in #3436)
- Swift syntax: add shebang (by @frkd-dev in #3451)
- Java syntax: add
varkeyword (by @owencmcgrath in #3526) - Javascript syntax: add .cjs extension (by @med-ab in #3539)
- Groovy syntax: fix triple quotes highlighting (by @Neko-Box-Coder in #3858)
- Fish syntax: fix variable expansion (by @remisalmon in #3830)
- Raku syntax: add .rakutest extension (by @juanfra684 in #3406)
- Arduino syntax: make filetype detection less aggressive (by @Andriamanitra in #3848)
- Add OpenSCAD syntax (by @jmcorey in #3410)
- Add PRQL syntax (by @vanillajonathan in #3313)
- Add meson syntax (by @asakovets in #3236)
- Add nftables config syntax (by @theredcmdcraft in #3325 and #3517)
Various improvements
- Save files safely, writing to the backup file first (by @JoeKar in #3273, #3806, #3814, @Neko-Box-Coder in #3807 and @dmaluka in #3822)
- Also write
settings.json,bindings.jsonetc safely as well, using a temporary file - Support vim-like
+/textsearch in command-line args (by @luca020400 in #3767) - Add
toggle&togglelocalcommands for toggling boolean options (by @cutelisp in #3783) - Add
-vsplit&-hsplitas optional arguments forhelp(by @JoeKar in #3502) - Make
textfilterwork with multicursors (by @dmaluka in #3511) - Support
\xsyntax for raw escape sequences inbindings.json(by @JoeKar in #3595) - Add
overwritemode indicator to the status line (by @JoeKar in #3620) - Support showing git commit hash and branch in the status line (by @niten94 in #3673)
- Support terminal emulation on Solaris, OpenBSD* and NetBSD (by @niten94 in #3714)
- OpenBSD - on 32-bit only
- Display name "Raw event viewer" instead of "No Name" for
rawpane (by @blamedrop in #3791) - Differentiate built-in plugins when listing (by @Neko-Box-Coder in #3810)
- Disable sudo save prompt on Windows (by @niten94 in #3866)
- Only set buffer type to stdout when no file args are passed (by @AndydeCleyre in #3910)
- Linter: add
rufffor Python (by @Andriamanitra in #3657) - Linter:
ldc2andgdcfor D (by @kodesettings in #3892) - Add comment support for typescript (by @Neko-Box-Coder in #3857)
- README: Update micro's version for the Go Report Card (by @JoeKar in #3835)
Bugfixes
- Fix
cd a\causing crash on Windows (by @JoeKar in #3596) - Fix SIGINT killing micro when saving with sudo (by @dmaluka in #3495)
- Fix crash when exiting terminal in some cases (by @JoeKar in #3738)
- Fix crash when
shell.JobSpawnis called from Lua while no callback is set (by @matthias314 in #3554) - Fix 2.0.14 regression: inconsistently working cursor up/down after selection (by @JoeKar in #3540)
- Fix 2.0.14 regression: colorscheme plugins not working (by @dmaluka in #3761)
- Fix non-working raw escape bindings after restarting the screen (by @dmaluka in #3468)
- Fix spurious backups of unmodified files (by @dmaluka in #3822)
- Fix drawing wide characters in the info bar (by @Andriamanitra in #3
下载地址
官方下载直接指向软件作者的发布地址;网盘镜像为同一文件的转存,下载后可用 SHA-256 核对(官方未提供校验值的文件除外)。
-
Windows x64 · 绿色版 ZIP 绿色免安装micro-2.0.15-win64.zip · 4.9 MB