News for hackers. Stuff that matters.
Re:micro – A Modern Alternative to nano by xuejie on Friday August 18, 2023 @04:31AM (#37172791)
I've been using micro as my main code editor(well I do use vscode for writing coq but that's the only exception) after 10+ years' 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: https://github.com/xxuejie/micro-acme So far it has been working perfectly for me.
Re:micro – A Modern Alternative to nano by antics9 on Friday August 18, 2023 @05:56AM (#37173451)
Same here. Went from Emacs to Acme, while using mg in the terminal. Now I’ve customised Micro to get that Acme feel.
Re:micro – A Modern Alternative to nano by alberth on Friday August 18, 2023 @08:44AM (#37174878)
Knowing nothing about micro, is there a reason why development has slowed down over the last 1-2 years?

https://github.com/zyedidia/micro/tags

Re:micro – A Modern Alternative to nano by aslilac on Friday August 18, 2023 @11:52AM (#37177391)
because it's a text editor that's already fully capable of editing text. not every thing needs to constantly evolve and add features at a break-neck pace.
Re:micro – A Modern Alternative to nano by alberth on Friday August 18, 2023 @01:23PM (#37179000)
Emacs, which is ~40 years-old, still regularly has multiple updates per year.

https://www.gnu.org/software/emacs/history.html

Re:micro – A Modern Alternative to nano by fermentation on Friday August 18, 2023 @01:35PM (#37179227)
You can order pizza and get a quote for a mortgage within emacs
Re:micro – A Modern Alternative to nano by KingMob on Sunday August 20, 2023 @11:19AM (#37199981)
Oh yeah! Good ol' C-x M-x M-pepperoni-fixed-rate...
Re:micro – A Modern Alternative to nano by zyedidia on Friday August 18, 2023 @02:45PM (#37180270)
A big reason is because I started a working towards a PhD recently, and so I've been more focused on that. I think micro has also reached a relatively stable spot, where it would only be significantly improved with some large new features. It is serving its purpose well as a simple/familiar terminal-based editor. I have plans to give it more love and release a version 3, but no timeframe.
Re:micro – A Modern Alternative to nano by cssanchez on Friday August 18, 2023 @07:28PM (#37183512)
As a faithful user of micro for the last couple of years, just know that its one of the first things I install in a new system along with the fish shell, especially in servers I have to manage via console. Thank you so much for your work!
Re:micro – A Modern Alternative to nano by MattyRad on Saturday August 19, 2023 @01:04AM (#37185691)
I recognize that username :) Thank you so much for micro, it's singlehandedly the best terminal editor I've ever used, and I use it every day!
Re:micro – A Modern Alternative to nano by az09mugen on Saturday August 19, 2023 @11:30AM (#37189758)
Thank you so much for micro ! I've been using it every day since 1 year and I'm a fan. I'm really glad you achieved to bring it to a stable spot. Congratulations also to keep it that way and not fall into 'a vim mode could be great' as some users requested.
Re:micro – A Modern Alternative to nano by oblio on Monday August 21, 2023 @04:07AM (#37206645)
Hi! Great editor!

It could use a fix for saving hidden files on Windows :-(

Re:micro – A Modern Alternative to nano by xuejie on Tuesday August 22, 2023 @03:35AM (#37219733)
Like other comments here, just want to say thank you for this amazing editor! It has been my primary code editor for the past few years. I did use a few different editors for specific purposes(vscode for interactively proving coq code, joe/nvi for editing super large files), but micro does provide what I need in 90% of the cases :P
Re:micro – A Modern Alternative to nano by cmrdporcupine on Friday August 18, 2023 @09:19AM (#37175216)
I keep trying stripped down terminal editors as alternatives to emacs -- because these days I use like 1% of emacs anyways -- but I always severely miss the common emacs major modes for C/C++ etc and especially its approach to indentation there (tab to force correct indent). I really wish other editors would follow this convention.
Re:micro – A Modern Alternative to nano by drbaba on Saturday August 19, 2023 @04:38AM (#37186773)
> I really wish other editors would follow this convention.

In editors with configurable keyboard shortcuts, you can bind this to tab yourself. For example, in Vim, the normal-mode command `==` would correctly reindent the current line. (Here, `=` is an operator, so you can also apply it to other regions like `=i{` to reindent correctly everything inside braces.)

To bind tab to reindent correctly in normal and visual mode, you can put this in your vimrc:

    nnoremap <tab> ==
    vnoremap <tab> =
You can also remap it in insert mode if you want, but then you might want to throw some if-statements in there to determine when to indent and when to reindent :)