Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Zachary Yedidia
    @zyedidia
    The project is still active but has reached a point where I am fairly happy with it and I think it serves its purpose well. Lately I’ve been working on some new algorithms for the syntax highlighter and the text buffer (some of the code is not public yet) and I plan to start integrating that over the summer. I’m in a phase where I’m mostly thinking/experimenting at a high level, but can hopefully start turning these ideas into implementations.
    0x5c
    @0x5c
    That makes sense, the editor itself does indeed feel like a project that has mostly reached its "final form".
    But with the current state of the issue tracker, it's very hard to tell if a weird bug has already been reported, or if it's "brand new". It's also generally cluttered with duplicates, incomplete support requests, and such.
    The lack of contributing guidelines (or even a note about the project's completedness) makes unclear if new features are welcome, or whether all or only small ones are accepted.
    And the lack of feedback (even "won't merge, thanks anyway") on completed PRs is odd, and since PRs don't get closed or merged, it may look like PRs are welcome but that the ones yet unmerged need more work.
    Zachary Yedidia
    @zyedidia
    I appreciate the feedback — I don’t have much time to clean things up now but I’m planning to work on micro in the summer and merge or close pull requests then.
    0x5c
    @0x5c
    In the meantime, if you're interested in cutting the influx of new non-bug issues, you could setup issue templates for bug reports, and use the template chooser config to redirect feature requests and general comments to this chatroom and/or the new github discussions feature
    https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
    If you're interested in the issue forms alpha, I could give you the link to the request form
    endigma
    @endigma
    Is there a known issue with Micro integrated terminals not showing certain colors correctly?
    Oddly enough, it works over SSH on 2.0.6, but on my local machine with 2.0.8 it doesn't work. With the same prompt.
    0x5c
    @0x5c
    Is there a way to have a multi-coloured pattern? I'm trying to have #44567215 be highlighted as symbol.operator for the # and constant.number for the numbers. Regions don't seem to be able to do that
    Jano
    @priner:matrix.org
    [m]
    @0x5c: There isn't. But the rules are applied in the order they're defined, so what you can do is first color #44567215 as constant.number and then color # as symbol.operator. But that would also have the side effect of coloring all #, not just those in front of numbers.
    Iggy Jackson
    @iggy
    Are GetOption/AddOption/etc v1 plugin things? I have that in a plugin that I could swear was working in 2.x at some point but with 2.0.8 it's complaining about a non-function object
    0x5c
    @0x5c

    @0x5c: There isn't. But the rules are applied in the order they're defined, so what you can do is first color #44567215 as constant.number and then color # as symbol.operator. But that would also have the side effect of coloring all #, not just those in front of numbers.

    Unfortunate :/
    If only Go's regex engine supported lookaheads, the current highlighting engine would be mostly complete

    PowerMan2206
    @PowerMan2206
    Does Micro have Shellcheck integration?
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    Hello guys. As a long time terminal user i am very interested in this lightweight and awesome editor. The only thing i can't find in documentation -- how to open terminal in split screen and send commands with some hotkey? It called a REPL process and i usually use it with Vim or NeoVim editor but i want to give Micro a try.
    PowerMan2206
    @PowerMan2206
    @cliff_edge:matrix.org maybe this will help you
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    Thanks, will have a look
    PowerMan2206
    @PowerMan2206
    As for splits, there's a command in Micro for that (since it has a fancy command terminal and stuff) and you gotta run vsplit or hsplit
    Though as you said, you can just add a keybind for that
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    This is official documentation, i already read it and searched through it. No REPL-related things. Yes, we have hsplit and vsplit, like in Vim, but only for text files...
    How to, say, :split term://bash like in NeoVim?
    PowerMan2206
    @PowerMan2206
    Like, term?
    I don't think I'm following
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    like term, yes. It can be opened in split manner for both Vim and NeoVim
    and works with split/vsplit. I think it should be possible somehow in Micro
    PowerMan2206
    @PowerMan2206
    Ahh, I see
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    Sorry for my english
    PowerMan2206
    @PowerMan2206
    Now that you mention it, it's kinda wacky there's no way to do that
    Or like, no obvious way
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    Ahh... sad to say so. Maybe i can use some kind of plugin?
    PowerMan2206
    @PowerMan2206
    Doesn't seem like it, no
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    Looks like a am Vim user forever, every time i try something cool and new i miss something and return to Vim ))) Thanks for answering anyway.
    PowerMan2206
    @PowerMan2206
    And this happens when I try to do a split in term, so I guess it's not possible yet :/
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    I see... Can i propose this as a feature for new releases? I think it is very convenient thing and quite universal. I usually use it to create bash, python or nodejs script interactively trying commands in split with opened terminal.
    PowerMan2206
    @PowerMan2206
    Yeah, the GitHub issues exist for a reason :P
    cliff_edge
    @cliff_edge:matrix.org
    [m]
    Will do, thanks )
    Jerry Zamostny
    @zamostny
    New to Micro... is it possible to set the font to something else?
    sean_
    @sean_:matrix.org
    [m]
    Hello all.
    I would like to build micro from source on windows, but I need to build for 32bit. When I build, it's using my native arch and I need to use 32bit
    Zachary Yedidia
    @zyedidia
    you can run GOOS=windows GOARCH=386 make build
    sean_
    @sean_:matrix.org
    [m]
    GOOS=windows : The term 'GOOS=windows' is not recognized as the name of a cmdlet
    Guess I need to see if golang is setup correctlyy
    Zachary Yedidia
    @zyedidia
    oh right, you are on windows -- you should probably run set GOOS=windows and set GOARCH=386 or something like that. They are environment variables that control the target OS and architecture for Go builds.
    sean_
    @sean_:matrix.org
    [m]
    thank you
    Jerry Zamostny
    @zamostny
    @zyedidia Is it possible to set a custom font in the config file?
    Zachary Yedidia
    @zyedidia
    no the font is controlled by your terminal, so you will have to change it in your terminal's settings if you want a different font
    Jerry Zamostny
    @zamostny
    Thank you!
    Aditya Khanna
    @AdityaKhanna
    discovered micro today.. looks amazing :-)
    Jerry Zamostny
    @zamostny
    Has anyone used micro as a todo list ?
    1 reply
    cliff_edge
    @cliff_edge:matrix.org
    [m]

    I use todo list like list of lists.

    I have following headers in my todo txt files:

    INBOX
    WAITING FOR SOMEONE
    INCOMING
    TODO
    IN PROGRESS
    DONE

    And i can use any advanced text editor to move rows between sections. Micro is ok with this setup

    Kyenos
    @kyenos
    So I've been hunting for how to change the file type of a file without renaming it. Does anyone know what the key combination for setting it on an open buffer is? or is this only available by interrogating the file name?
    Zachary Yedidia
    @zyedidia
    There is the filetype option which you can directly set
    John Galt
    @victor.yanchuk:matrix.org
    [m]

    Hi,

    I've just installed micro. Look very pretty.

    But system clipboard does not work for me.
    It says that It need to install xclip, but it is installed alone with micro. I've checked and it is present in the path '/usr/bin/xclip'.
    Micro show a message that I need to install xclip for external clipboard.

    System: Ubuntu 20.04
    My micro version is 2.0.1-1, but micro show

    username@locahost:~$ micro -version
    Version: 0.0.0-unknown

    Is it known issue with clipboard?