by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jungypoo
    @Jungypoo
    Hey :) New install here, loving micro so far. Had a basic Q -- was wondering how to do a vsplit with bash terminal on the other side?
    Jungypoo
    @Jungypoo
    Ah I worked it out! Happy days :)
    kobe
    @outomla_twitter
    Has anyone managed to get tree-sitter syntax highlight to work with micro?
    @zyedidia ^
    kodkuce
    @kodkuce
    @zyedidia nice :)
    kodkuce
    @kodkuce
    i end up just swaping WASD keys on ALT_R to arrows for movment it works nice
    kodkuce
    @kodkuce
    oh duh i am tard lol frogot micro uses separate theme file xD
    medboulmes
    @boulmers
    Hi,
    Thanks for the awesome micro editor.
    Is there a central location/repos for sharing plugins and configs/syntax definitions. Thanks.
    3 replies
    kodkuce
    @kodkuce
    is it possible to change color of [ tab ] - brackets around selected tab i tryed setting indent-char in colorsytax but dident help
    kodkuce
    @kodkuce
    can we make a discrod group or soemthing this gitter to little people using
    kodkuce
    @kodkuce
    @zyedidia coloring selectet tab brackets ( [ ] ) possible or should i open github request
    ChrisHanigan
    @ChrisHanigan
    I second the discord suggestion. I rarely use gitter
    ChrisHanigan
    @ChrisHanigan
    Is mouse not supported on windows?
    Zachary Yedidia
    @zyedidia
    Mouse should be supported on windows but some windows consoles don’t forward mouse events I think
    ChrisHanigan
    @ChrisHanigan
    I haven't been able to get it to work in any, not sure what the problem is
    5 replies
    other than that micro is a great editor, fantastic work!
    Peter Scargill
    @scargill_gitlab
    I have micro working on Windows 64 SSH session, the nightlky build handles past-end-of-page copy-paste no problem, BUT in 24bit mode and any colour scheme with any background colour, I get no CURSOR, EVER. No idea of the cause but selecting "colorscheme simple" brings back the cursor - any othere scheme, the cursor vanishes... for example dukedark-tc, I get a dark background, a darker line current line, but no cursor at all. Any ideas?
    Zachary Yedidia
    @zyedidia
    What version of mobaxterm are you using?
    kodkuce
    @kodkuce
    :)
    need that lsp
    fedeztk
    @fedeztk
    Hi everyone, I'm new here. I love micro and I'm writing a theme for it. Is there anyone that can help me with a bunch of stuff with micro colorscheme? I encountered a few problems.
    Thank you
    fedeztk
    @fedeztk
    No one?
    Zachary Yedidia
    @zyedidia
    Sure go ahead and ask your questions here or open issues on GitHub and we can try to answer them
    Tommy
    @tommyshem
    @fedeztk what problems have you encountered. If you list them, then I or someone might know the solution.
    fedeztk
    @fedeztk
    Ok, thank you. Basically I have two main problems: first is that (I don't know why), but colors seems to not load properly from colorscheme folder. By that I mean that if I open the same file written in C, sometimes I get preprocessor syntax in blue for example, and the next one in pink, without absolutely changing the .micro file. Second: in the .micro file of the same theme, some ".group" doesn't work, for example identifier .class doesn't affect at the final result.
    I also want to add that I really appreciate micro, but I found no real documentation on colors, that one in GitHub isn't complete at all (example: there aren't all subgroups listed, and there isn't a real example on a .micro file that explain colors effect)
    ret394
    @ret394

    maybe documentation will get useful now.

    Tommy
    @tommyshem
    @fedeztk Ok, I will have a look, is it possible to post the micro file you are working on.
    fedeztk
    @fedeztk
    Yes, i'll post it here. It's a port from dracula theme (sorry if it is a mess).
    I would like to understand a little bit more on what I'm doing wrong in order to write some other themes. I love the intuitive approach of micro, it would be stupid to waste this potential for lack of doumentation/runtime error in loading theme file.
    Tommy
    @tommyshem
    Not all groups are used in the syntax file look here for c https://github.com/zyedidia/micro/blob/master/runtime/syntax/c.yaml this will show you the groups used. Also there is some highlighting problems with micro v2 check issues out. I not sure if this matters but change the custom file to something else like mydracula.micro.
    Tommy
    @tommyshem
    identifier.class only works on languages with the .yaml highlight syntax files has them defined eg vala, coffeescript, csharp etc You need to look at the languages you want to use the theme for and look at the groups. Or just copy one of the default color schemes files and change the color hex values.(Note some colors will not show the correct color if the terminal only supports 256 colours) If you remove the files in the colorschemes folder do you still get color problems if so then it is a problem with micro editor.
    fedeztk
    @fedeztk
    Thank you so much, I thought that syntax highlighting work with every language.
    2 stupid questions: why should I use the prefix my in the colorscheme? Second, what do you mean with the very last sentence "If you remove the files ..."? I don't get it, should I try to remove them from .config/micro/colorscheme?
    Tommy
    @tommyshem
    I was using an example as it is the same name as the one which comes with the micro editor in case there is a problem using the same name. You said you had color highlight problems, if you removed the color scheme files, do you still get the high lighting problems. The shows if it is your color scheme causing the problems or problems with micro editor with the built in colour scheme.
    fedeztk
    @fedeztk
    I think that is micro problem...I get the same bug with all the themes...sometimes are load correctly, but not everytime
    Zachary Yedidia
    @zyedidia
    What's the issue you are seeing? I tried putting the dracula.micro file in ~/.config/micro/colorschemes and it seemed to work fine.
    fedeztk
    @fedeztk
    If I get in and out of micro, sometimes colors are load correctly, sometimes for example I get define as blue instead of pink
    Eddy Ernesto del Valle Pino
    @edelvalle
    Hi, quick question on plugin development... I had look around and can't find documentation on the topic.
    I want to run an editor command from lua, like the ones you configure as keybindings like "EndOfLine", "PreviousSplit" or "lua:comment.comment", how do I do that from lua? Becasue there is access to all low level text operations in the buffer but can't find how to run high level commands.
    Zachary Yedidia
    @zyedidia
    All actions are just methods of BufPane so you can call them on a bufpane object from lua. You can also call lua functions from other plugins such as comment.comment (I believe it takes one argument which is the bufpane to act on)
    Eddy Ernesto del Valle Pino
    @edelvalle
    Thanks, let me try...
    do yo have like a REPL like inside of micro?, so I can type there and interact with the APIs to try out stuff?
    Zachary Yedidia
    @zyedidia
    No not really. Check out the godoc for documentation of internal functions (here's the section for BufPane: https://godoc.org/github.com/zyedidia/micro/internal/action#BufPane)
    Eddy Ernesto del Valle Pino
    @edelvalle
    thanks.... !
    Eddy Ernesto del Valle Pino
    @edelvalle
    This message was deleted