TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

micro – A Modern Alternative to nano

383 pointsby theycallhermaxalmost 2 years ago

51 comments

sramsayalmost 2 years ago
I suggest nano to my students in classes where everyone is a beginner and we&#x27;re learning programming on the command line.<p>The greatest advantage of nano for these users is that all the commands are listed along the bottom of the screen. I was shocked to see that this is not true of micro.
评论 #37175786 未加载
评论 #37175893 未加载
评论 #37175869 未加载
评论 #37175437 未加载
xuejiealmost 2 years ago
I&#x27;ve been using micro as my main code editor(well I do use vscode for writing coq but that&#x27;s the only exception) after 10+ years&#x27; time with emacs. I simply treat micro as the modern compromised version of acme. It almost has all the features to support the core idea of acme, I have written a plugin to exploit this direction: <a href="https:&#x2F;&#x2F;github.com&#x2F;xxuejie&#x2F;micro-acme">https:&#x2F;&#x2F;github.com&#x2F;xxuejie&#x2F;micro-acme</a> So far it has been working perfectly for me.
评论 #37175216 未加载
评论 #37174878 未加载
评论 #37173451 未加载
swozeyalmost 2 years ago
I had no idea people used nano as their main code editor. I use it on any nix server I&#x27;m working on and have probably used it tens of thousands of times.<p>I&#x27;d been a linux&#x2F;bsd engineer forever and I worked at some places where they refused to install nano on servers. There are some greybeard linux admins who absolutely refuse to let someone use anything other than vi. I never got that. It&#x27;s a 20MB package and not exactly much of an attack vector.
评论 #37175573 未加载
评论 #37176719 未加载
评论 #37175395 未加载
评论 #37175419 未加载
评论 #37178220 未加载
评论 #37178419 未加载
评论 #37175450 未加载
评论 #37175292 未加载
评论 #37178462 未加载
评论 #37176226 未加载
评论 #37186076 未加载
glebdalmost 2 years ago
JOE is pretty nice <a href="https:&#x2F;&#x2F;joe-editor.sourceforge.io&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;joe-editor.sourceforge.io&#x2F;</a> — a hybrid of WordStar and Emacs, and if you run it with `jstar` you get a pretty authentic WordStar experience which also feels like the earliest Borland Turbo IDEs.
评论 #37172782 未加载
评论 #37180122 未加载
评论 #37175232 未加载
评论 #37180584 未加载
评论 #37179239 未加载
评论 #37179923 未加载
berkeleynerdalmost 2 years ago
I love micro and use it every day. Now that I&#x27;ve tried Helix, however, I want micro plus baked-in treesitter, LSP, and contextual help. Helix really nails it with that feature set but I&#x27;m just too happy with my &quot;single-mode + commands&quot; ctrl-c&#x2F;ctrl-v muscle memory to switch.
评论 #37178529 未加载
gabrielgioalmost 2 years ago
Why is there still software asking user to run sudo on something downloaded from the internet? Why even bother doing that script if there is a easier, safer, with smaller footprint and built-in in all distro option available?<p>Just as comparison, micro alpine&#x27;s package has 4MB (installed) while its staticly compiled binary version it downloads from github has 11MB. The repo&#x27;s package would make it more micro.
评论 #37175136 未加载
评论 #37175070 未加载
评论 #37179255 未加载
andridkalmost 2 years ago
I thought Nano was the modern alternative to Pico ^_^
评论 #37172124 未加载
评论 #37174724 未加载
globular-toastalmost 2 years ago
Just curious, why are people interested in small editors like this? The only reason I ever use vi&#x2F;vim is because it&#x27;s everywhere. If I&#x27;m going to install an editor, I&#x27;ll install Emacs. If it&#x27;s a remote system I&#x27;ll simply open the file over SSH with tramp (essentially transparently supports remote editing) and retain the full power and speed of my local Emacs. For TUI editing (like for sudoedit, git commit, C-x C-e etc.) I run Emacs as a daemon so new frames, including TUI frames load instantly, look very close to my Emacs GUI (with nerd fonts, colours and everything) and are literally Emacs. You really don&#x27;t need to have multiple editors for different use cases.
评论 #37172812 未加载
评论 #37172439 未加载
评论 #37174159 未加载
评论 #37172487 未加载
评论 #37173691 未加载
评论 #37173769 未加载
feldrimalmost 2 years ago
The issue of micro for me was the formatted paste. When I paste a piece of code, micro tries to indent it line by line. Yet, it does not have the whole picture. So it indents the pasted text gradually to infinity. And line by line inferring the format slows the process down to zero. You paste and go grab a coffee instead of watching a Matrix-like paste scene.<p>I hope they solved it but I left at that point. If it is solved, I can give it a try again.
评论 #37173677 未加载
评论 #37177452 未加载
Semaphoralmost 2 years ago
Out of 14 other submissions, 2020 [0] had 103 comments and 2021 [1] 162 comments.<p>[0]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23334190">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23334190</a><p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29128702">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29128702</a>
Narushiaalmost 2 years ago
Been using this for years, really great for making quick edits in the terminal. Mouse support and standard editing shortcuts <i>as the default</i> (unlike many other terminal text editors) are the best features in my opinion.
评论 #37174992 未加载
pepa65almost 2 years ago
I think nano is modern itself, still actively being developed, and for the past few years more or less feature complete. But if nano wasn&#x27;t there, I would probably be using micro.
评论 #37175474 未加载
molticrystalalmost 2 years ago
Another small TUI ide&#x2F;editor to try is Orbiton [0] also written in go and has clang-lint, compiling, and has gdb debugging support, though I believe it lacks plugins. These features work also for Rust, C&#x2F;C++, and I would imagine Zig, and Go development as well. I tested it on an old 2012 kindle fire and it works great.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;xyproto&#x2F;orbiton">https:&#x2F;&#x2F;github.com&#x2F;xyproto&#x2F;orbiton</a>
moffkalastalmost 2 years ago
This is not a nano alternative, it follows the vim paradigm of having a command mode that nano does not have (for good reasons). It&#x27;s more of a merge between vim and nano if anything, breaking the core intention behind nano.<p>If you ask me, nano has a niche of a super simple terminal editor that anyone can look at for the very first time and instantly figure out, with very few pitfalls or ways to mess up. The more features you add, the more modes and options, the easier it is for newcomers to press a key combo that puts them in a state only intended for power users that they won&#x27;t be able to get out of without googling.
评论 #37175353 未加载
评论 #37175005 未加载
tpoacheralmost 2 years ago
Saying a &quot;modern alternative&quot; implicitly suggests that nano is not modern, or that it is somehow outdated or unfit for &quot;modern&quot; use-cases. This couldn&#x27;t be farther from the truth.<p>E.g. I&#x27;m currently using nano to edit a latex document, with full in-nano compiling and evince-synctex support (i.e. jump to&#x2F;from pdf in nano). This required only a measly three lines of macros to be added to my .nanorc.<p>I am also a (reasonably knowledgeable) vim user, but I prefer nano for my coding, and now only tend to use vim when collaborating with a vim colleague. Everytime I hear vim rants about keystrokes and vim-magic, I chuckle because usually I can do the exact same thing with (my configuration of) nano at least as fast, if not faster. (no hate to vim, vim is also an excellent editor; I&#x27;m just pointing out that people tend not to realise or talk much about the power&#x2F;potential of nano im the same way as they do for vim)<p>Incidentally, I did try micro last time it was posted on HN. I tried very hard to like it, but in the end it just couldn&#x27;t hold a candle against the latest nano.<p>Note that often enough what people refer to as nano is some antiquated version that happened to have been bundled in their system. I saw a (reasonably modern) system recently whose nano version was 2.3! Meanwhile the latest nano is v7.2, and the added features just in the last <i>two</i> updates were gamechangers.
kaspersetalmost 2 years ago
Reminds me of mg editor <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Mg_(text_editor)" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Mg_(text_editor)</a> It is a very small subset of EMacs and barely any features compare to micro.
mpsprdalmost 2 years ago
I wonder, who is this for?<p>I feel this kind of editor is for the sophisticated minimalist, used alongside a 60% fancy keyboard with ceramic key caps.<p>I see comments about this being good for &quot;beginners&quot;, and I wonder what definition they are using. Make them use a basic graphical editor like gedit.
评论 #37180498 未加载
评论 #37178934 未加载
评论 #37178368 未加载
eigenlichtalmost 2 years ago
From sailplane straight to (at least) a Cessna looks more like another level, supercharge and weight class all in one. I guess it&#x27;s fair to locate &#x27;micro&#x27; rather somewhere in the in-between, a middle ground and then there are in fact not that many contenders on the CLI, or else they&#x27;re fossils. I would&#x27;ve thought this is what makes it attractive to some? Whereas others don&#x27;t really have a use case. As for &#x27;nano&#x27; on the other hand frankly there are about as many proper and more modern alternatives as there are Linux distributions and I&#x27;m sure anyone who&#x27;s still a console regular has their favorite or two. I&#x27;m a vimmer but for quick snaps or in very strange places I *really* like dte. Am not associated with the project: <a href="https:&#x2F;&#x2F;github.com&#x2F;craigbarnes&#x2F;dte">https:&#x2F;&#x2F;github.com&#x2F;craigbarnes&#x2F;dte</a>
punnerudalmost 2 years ago
On Mac, add it to terminal with brew:<p>brew install micro<p>The command on the webpage will only add it to the location you run it.
评论 #37178561 未加载
pletnesalmost 2 years ago
Is it super fast on large files? (Large is 1 GB+) I’ve used vim or notepad++ for those in the past but would be happy to find something faster.
评论 #37173114 未加载
matteorasoalmost 2 years ago
As an unironic GNU nano power user, I feel like this project is for people who want to like GNU nano but don&#x27;t know how powerful the editor really is. Seriously, I highly recommend everybody to sit down with GNU nano and read the manual. There&#x27;s a lot that you can do, almost as much as Vim in fact.
评论 #37227889 未加载
satvikpendemalmost 2 years ago
Shall we just use ed instead?
评论 #37174977 未加载
delfinomalmost 2 years ago
So it reinvented vim&#x2F;emacs and friends and called it an alternative to nano without understanding what nano is.<p>That&#x27;s like saying Visual Studio is an alternative to Notepad with a straight face. I mean sure, both could type text but it&#x27;s fundamentally a different product.
评论 #37175482 未加载
NayamAmarshealmost 2 years ago
I love micro! Super simple to use and very intuitive.
hungryforcodesalmost 2 years ago
I understand there are alot of command line junkies here which might be against it -- but what&#x27;s wrong with Tilde? (1)<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;gphalkes&#x2F;tilde">https:&#x2F;&#x2F;github.com&#x2F;gphalkes&#x2F;tilde</a>
评论 #37179311 未加载
codedokodealmost 2 years ago
What disappoints me most is that terminal editors often use weird hotkeys that are unique only to them instead of using widspread hotkeys. What I want, is, for example, to use Ctrl + S for saving and not some other combination.
评论 #37177894 未加载
评论 #37177850 未加载
评论 #37177671 未加载
petabytesalmost 2 years ago
Been using it as my main editor for the past 3 years now, coming from Sublime Text. It&#x27;s been a great editor so far, but it&#x27;s missing a lot of modern features, and the plugin support seems to be next to none.
评论 #37175603 未加载
评论 #37171818 未加载
评论 #37171819 未加载
littlestymaaralmost 2 years ago
How can it be modern if it&#x27;s not even written in Rust &#x2F;s
评论 #37176702 未加载
pie_flavoralmost 2 years ago
Micro to me strikes a perfect balance of easy enough to get working out of the box and not so simple it&#x27;s stifling. I wish it came with LSP support built-in though.
weneralmost 2 years ago
I add nano to every alpine base container, micro seems good, but<p><pre><code> apk add nano # Installed size 308 kB apk add micro # Installed size 12.17 MB</code></pre>
评论 #37185369 未加载
kgbciaalmost 2 years ago
The main advantage of nano is the tui user interface where commands and menus are displayed graphically. Second advantage it&#x27;s pre installed on most systems. I would use vi if I knew how to quit , copy and paste, and navigate around the screen.
canvascriticalmost 2 years ago
having spent decades with nano, transitioning to emacs was a revelation. the extensibility, the vast array of packages - it was like stepping into a whole new world. but then came vscode. it felt like the best of both worlds - simplicity when you need it, complexity when you want it. plus, the integrations and extensions are top-notch.<p>Also lately I&#x27;ve been a bit spoiled by Visual Studio enterprise at work, thinking to buy a personal license<p>I mean don&#x27;t get me wrong, i have a soft spot for nano. there&#x27;s something about its minimalism that&#x27;s just...comforting. but functionality-wise, it doesn&#x27;t hold a candle to emacs or vscode.<p>that said, i&#x27;m intrigued by micro. it promises modern features while staying true to nano&#x27;s philosophy. if it delivers, maybe i&#x27;ll find myself switching yet again.
lprovenalmost 2 years ago
Same as any other trendy editor, old or new: wake me up when it&#x27;s CUA.<p>I learned dozens of editors in the bad old days. Then common sense has ruled since the late 1980s, and anything which does not comply with the universal PC UI can die in a fire.
omgmajkalmost 2 years ago
I&#x27;ve been using Micro for quite some time, with some configuration and addons it becomes very comfy and it&#x27;s enough for me most of the time. I miss some features though but they are probably more of addons than core features.
aidogalmost 2 years ago
I love micro, I just wish it had a file selector like nerdtree and a shell.
评论 #37201400 未加载
hobo_markalmost 2 years ago
Is there any console editor that supports VS Code key bindings?
评论 #37175918 未加载
teddyhalmost 2 years ago
In those rare cases where Emacs is too large, I use Zile.
chromoblobalmost 2 years ago
&gt; it&#x27;s just a static binary with no dependencies<p>Okay, how does it decide which color escape sequence to output? Does it have an inbuilt terminal database?
评论 #37201410 未加载
mixmastamykalmost 2 years ago
micro is a great compliment to other CUA editors. One set of keybindings to rule them all!
Roark66almost 2 years ago
I&#x27;m not sure why do we need one. Nano works fine everywhere.
评论 #37177599 未加载
kevinlinxcalmost 2 years ago
One nit: can&#x27;t enlarge the carousel of images on mobile
straceralmost 2 years ago
Longer name, harder to type, probably won&#x27;t catch on.
评论 #37185423 未加载
评论 #37180979 未加载
Borborygymusalmost 2 years ago
Software project name DNA.<p>MicroEmacs -&gt; Pico -&gt; Nano -&gt; Micro
评论 #37172806 未加载
评论 #37175385 未加载
Alohaalmost 2 years ago
While this is very nice, the lack of Control-A&#x2F;Control-E support to jump around a line is annoying.
评论 #37176409 未加载
评论 #37180709 未加载
muxatoralmost 2 years ago
The top intuitive to use TUI editors in my heart will always be: - MS Dos Edit - Turbo Pascal 6<p>Edit felt like a windows application: select with shift+arrows, move fast with ctrl+home&#x2F;end.<p>Turbo Pascal&#x27;s keybindings were a bit influenced by WordStar&#x27;s, I think, so a bit old style already at the time. But, my friend, the TUI Toolkit, TurboVision! What did they do there! Multiple windows that could be dragged and resized, blazingly fast. All of this on a 486 with megabytes of ram.<p>I never found any TUI editors like those two.
评论 #37173240 未加载
评论 #37172239 未加载
评论 #37172913 未加载
评论 #37172817 未加载
评论 #37172024 未加载
评论 #37172002 未加载
评论 #37171913 未加载
评论 #37172956 未加载
评论 #37173796 未加载
评论 #37173186 未加载
评论 #37172859 未加载
评论 #37172241 未加载
评论 #37173862 未加载
prmoustachealmost 2 years ago
Micro? really? a 11MB binary?
评论 #37173220 未加载
评论 #37172789 未加载
评论 #37174752 未加载
评论 #37175012 未加载
评论 #37174357 未加载
评论 #37173905 未加载
m0rissettealmost 2 years ago
Vim is all you need.
评论 #37173872 未加载
anggalmost 2 years ago
.
johnklosalmost 2 years ago
micro wants to be a small, lightweight, modern alternative to other things, but it&#x27;s written in Go, which means it isn&#x27;t going to be available for older systems and&#x2F;or for classic architectures.<p>A good alternative should be usable in a decent number of places where the original is usable :P
评论 #37175539 未加载
MantisShrimp90almost 2 years ago
I guess this is for people that don&#x27;t use Neovim but never want to leave the terminal? Just kinda seems like the worst of both worlds to me. Less powerful than neovim while still using the same configuration language, yet less ubiquitous than even vscode at this point which does have many easy download options.
评论 #37175164 未加载
defanoralmost 2 years ago
It calls its terminal multiplexer functionality &quot;terminal emulator&quot;, it seems. Unless it has a GUI, but then &quot;terminal-based&quot; is wrong.<p>I am not a fan of nano, as it is not even qualified to attend the editor war, but this one adds JSON configuration, &quot;curl | bash&quot; installation, has a JS-dependent website, and generally looks even more awkward than nano. Apparently both nano and this editor have their target audience, as do all those other &quot;modern&quot; editors, but observing this triggers the feelings likely similar to those that lead to flamewars: it is painful to observe seemingly inefficient and otherwise awkward tools used by others, and tempting to suggest to look into better options.
评论 #37172498 未加载
评论 #37172506 未加载
评论 #37172488 未加载