Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    lrapava
    @lrapava:matrix.org
    [m]
    iirc
    there is a tiling wm you can run in a tty session
    Forrest Cheadle
    @fcheadle
    Hey guys. I use micro every day, and I wanted to show the developer my support. Nice work!
    cyaneko
    @cyaneko:matrix.org
    [m]
    good to know
    lrapava
    @lrapava:matrix.org
    [m]
    Hello, I'm not a native speaker of English/any other language that uses Latin alphabet. Even though most of the text I edit in micro is written in Latin alphabet, there are occasions when I'm using it with a different alphabet (E.g. sometimes I need to write a comment in one of my native languages. + I sometimes use Micro as a note-taking app). Unfortunately, when I switch to a different keyboard layout most of the keyboard shortcuts stop working which makes working in micro really uncomfortable. Is there a way to fix this issue? Thanks in advance!
    PowerMan2206
    @PowerMan2206
    Can I make it so that Micro autodetects the encoding on a file, but defaults to UTF-8 when unknown/on new files?
    plum
    @plum
    Are there any unoffical plugin repositories that I may visit to look?
    Thanks for a great editor, this is my second year of use. I came form vim.
    lrapava
    @lrapava:matrix.org
    [m]
    How to disable error notifications in micro?
    Drugoy
    @Drugoy
    Hello!
    I just discovered micro and I already love it!
    However, I've got a few questions / problems I struggle with and I hope you could help me solve them.
    I'd like to be able to select via keyboard by holding down shift key and navigating using arrow keys.
    When I hit shift+up hotkey - instead of selecting the text from current caret's position to ~similar position in the line above the current one - I get [1;2A] typed instead of selecting anything. Similar happens with the other arrow keys.
    This problem only occurs when I invoke micro from within a tmux session.
    I'm using Ubuntu 18.04, my terminal emulator is xterm (version 330), I use tmux (version 2.6) and micro (version 2.0.10).
    My tmux-conf has set-option -g default terminal "screen-256color" and that's the value I get when I do echo "${TERM}" from within tmux. Outside tmux echoing that env returns xterm-256color.
    Does anyone else here use tmux?
    Serge Voilokov
    @serge-v
    calder-andor
    @calder-andor:matrix.org
    [m]

    hey guys, i have been using micro for a couple of weeks now and i am loving it so far, but have two questions about it:

    • when searching, how do i go to the next result?

    • I use i3wm and i frequently edit the config file. and since it doesnt end in .ini micro doesnt load filetype colors for it. is it possible to change the filetype a file is rendered in micro?

    Koki Fushimi
    @Paalon
    @calder-andor:matrix.org Control + F, type expression, Enter, then Control + n to next and Contorl + p to previous one.
    1 reply
    cyaneko
    @cyaneko:matrix.org
    [m]
    whose bright idea was to hardcode a bunch of linter params lol
    now i have to write an extension to that plugin to either take in the parameters from a makefile or from a randomly placed file in the project directory
    cyaneko
    @cyaneko:matrix.org
    [m]
    speaking of, any ideas why alt+shift+up/down might not work as intended on my machine? (xfce DE, xfce terminal emulator)
    like my terminal just outright ignores the shortcut
    cyaneko
    @cyaneko:matrix.org
    [m]
    alternatively... windows key mapping to a shortcut on linux?
    cyaneko
    @cyaneko:matrix.org
    [m]
    nevermind figured it out... should check /etc/X11 from time to time
    Drugoy
    @Drugoy
    @serge-v thanks a lot! It helped!
    pxlwrshp
    @pxlwrshp
    Loving micro so far. But I can't get the word wrap to work. soft wrap and word wrap are both activated, and in the settings.json file, but words still wrap in the middle. Tried everything I could think of, and I'm stumped. Running the application in Konsole on Debian, if that matters. Any help is appreciated!
    tim hatch
    @timhatch
    The options page on github suggests that the diffgutter is "live". I see only changes from when the file was first opened and the diff plugin contains only an onBufferOpen() function, so is the following description incorrect (or am I missing something obvious): "If you are in a Git directory, the diff gutter will show changes with respect to the most recent Git commit rather than the diff since opening the file"
    Lautaro Salvatore Gopen
    @LautaroSalvatore
    Hi im using micro for a few weeks now,i want to contribute some time to the project, im thinking of adding some testing, im only see a few test in tooling
    mindranger
    @mindranger:matrix.org
    [m]
    how do we preserve micro sessions?
    1 reply
    id like to have the same files open when i reopen micro
    have u been able to achieve that?
    ryleu
    @ryleu:matrix.org
    [m]

    hello!
    i'm trying to make some syntax highlighting for writing Ti-BASIC programs from micro, but i can't seem to get it working. yes, i know, you can't stop me.

    here's the error i'm getting:

    Error parsing syntax file tibasic: interface conversion: interface {} is nil, not []interface {}
    
    Press enter to continue
    and my code:
    filetype: tibasic
    
    detect:
        filename: "\\.tibasic$"
    
    rules:
          # Flow control keywords
        - statement: "\\b(If|Then|Else|For|While|Repeat|End|Pause|Menu|DelVar|GraphStyle|Input|Prompt|Disp|DispGraph|DispTable|Output|getKey|ClrHome|ClrTable|GetCalc|Get|Send|Str\\d|Pic\\d|Li[A-Z\\d]+|Goto|Lbl|OpenLib|ExecLib)\\b"
        - special: "\\b(Stop|Return)\\b"
    
          # math keywords
        - identifier.macro: "\\b(sin|cos|tan|asin|acos|atan|sqrt|rt\\-?[0-9]+|pi|i|e|ln|log|>Frac|>Dec|fMin|fMax|nDeriv|fnInt|summation|log[0-9]+|solve|abs|round|iPart|fPart|int|min|max|lcm|gcd|remainder|>n/d<>Un/d|>F<>D|conj|real|imag|angle|>Rect|>Polar|rand|nPr|nCr|randInt|randNorm|randBin|randIntNoRep|invNorm|invT|(normal|t|x2|F|binom|poisson|geomet)(p|c)df|Shade(Norm|_t|x2|F)|SortA|SortD|dim|Fill|seq|cumSum|dList|Select|augment|List>matr|Matr>list|mean|median|sum|prod|stdDev|variance|°|'|r|>DMS|R>Pr|R>Pth|P>Rx|P>Ry|det|T|dim|identity|randM|ref|rref|rowSwap|\\*?row\\+?)\\b"
        - type: "\\b(Str\\d|Pic\\d|Li[A-Z\\d]+|\\[[A-Z]\\]|th|[A-Z]+)\\b"
    
          # Operator Color
        - symbol: "[:,+*|=!%]|<|>|/|-|&"
    
          # Parenthetical Color
        - symbol.brackets: "[(){}\\[\\]]"
    
        - constant.string:
            start: "\""
            end: "\""
    
        - constant.string:
            start: "\""
            end: "$"
    
        - comment:
            start: ";"
            end: "$"
            rules:
                - todo: "(TODO|XXX|FIXME):?"
    any thoughts as to what might be going on?
    ryleu
    @ryleu:matrix.org
    [m]
    i think i'm going to go through line by line and see what the issue is
    it could just be bad regex
    is there a tool to test it?
    the once linked in the syntax highlighting readme doesn't seem to exist
    ryleu
    @ryleu:matrix.org
    [m]
    it is this section
    figured it out
    it needed a rules section
    Catalin Marincia
    @cata0309
    I am trying to get completion for Go to work in micro. Are there any guides on achieving this? I noticed there was at some point a PR but was closed and I don't think it is of interes right now
    lmservas
    @lmservas
    Hey all I didn't see an option to search this chat so I apologize if this has been addressed before... I am attempting to set the filemanager plugin option "filemanager-openonstart": true option in settings.json but for some reason the tree just does not open when I open Micro. Anyone know what I'm doing wrong??
    lmservas
    @lmservas
    ^Disregard. I found the error. In the README.md for the filemanager plugin all of the options are presented in the format of: 'filemanager-option' but settings.json recognizes and so it should read in the README file 'filemanager.option'
    sebkolind
    @sebkolind:matrix.org
    [m]
    lmservas (lmservas) It would be nice if you contributed to the readme then, so that it won't happen to others. Good catch :)
    mindranger
    @mindranger:matrix.org
    [m]
    any way to preserve open tabs in micro?
    lmservas
    @lmservas
    @sebkolind:matrix.org I had to learn how to do this as I am still learning and will submit this edit and another similar case I found with another plugin. Thanks for the suggestion!
    lmservas
    @lmservas
    @sebkolind:matrix.org Would you happen to know if I need to submit a "pull request" if after submitting the change it says "able to merge - these brances can be automatically merged"?
    sebkolind
    @sebkolind:matrix.org
    [m]
    lmservas (lmservas)You have to submit a PR from your fork, which a maintainer on the project needs to accept.
    hmmboi
    @hmmboi:matrix.org
    [m]
    hi guys I'm testing micro for my micro needs, I need a) to set indent with spaces for tabs and b) can I build my scripts directly from mirco?
    hmmboi
    @hmmboi:matrix.org
    [m]
    solved b) with init.lua
    Zane Dufour
    @zdog234

    Hi, I'm just a random person.

    I was thinking about submitting a reportbug feature request asking debian to include micro by default (largely because it's a much more accessible editor than vim or even nano for people who are new to linux, so it'd be cool if, 5 years from now, new tutorials start using sudo micro <some config file> instead of sudo vi), but I realized it might make sense to ask here first if that's something that makes sense, and if the micro maintainers are even open to it

    Zachary Yedidia
    @zyedidia
    That sounds cool! I am not sure whether the Debian maintainers are willing but you can ask if you want. I don’t think there is much to do about this on the micro side (micro is already in apt, although the version they package is continually out of date)
    Emil Karlson
    @jkarlson:kapsi.fi
    [m]
    in debian date, you mean