Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Deus Nefum
    @deusnefum_twitter
    I'm not sure, but I don't think so.
    Mateo de Mayo
    @mateosss
    Oh what a pitty! but I'm glad the project is not abandoned, this editor is awesome :)
    Aresiel
    @Aresiel
    I started writing c with it recently and the syntax thing is great!
    thcloak
    @thcloak
    Hello, is there a way to view the files recently opened in micro? Command history completion doesn't cover all cases. Example scenario: One mistypes a path when saving a new file, and can't find the file afterwards. EDIT: If the feature exists and is documented, it should be searchable by a phrase such as "recently opened".
    Elliot Thomas
    @raziel2244
    @thcloak as far as i know there is no feature like that, can't find any trace of it. maybe make a feature request on github?
    thcloak
    @thcloak
    @raziel2244 Alright, will do so. Thanks. Also, happy to see pane resizability is being worked on.
    thcloak
    @thcloak
    On second thought, there really is no need for the feature, since parent folders aren't automatically created, so there's not much chance of misplacing. Thanks anyway.
    TheM3tabaron
    @TheM3tabaron
    any devs here?
    TheM3tabaron
    @TheM3tabaron
    how to disable the curser. is there a command for that? Blind girl in trouble, since the status line is outputting colomn numbers
    TheM3tabaron
    @TheM3tabaron
    okay. one man project, and rewrite. Sounds great!
    Elliot Thomas
    @raziel2244
    Nothing wrong with a rewrite if it will improve the project ^^
    And is your issue to do with the bar at the bottom that lists the cursor position and file name etc? I believe that can be turned off in the config
    Alg
    @algiuxass
    Wondering if there's premade keybinds from editor like vscode or very similar ones. Anyone can help me with that?
    Alg
    @algiuxass
    Nevermind - how to use multicursor?
    Alg
    @algiuxass
    Nevermind - figured it out.
    I can't believe it's THAT simple! Still have to get used to it. Thanks for making this editor!
    Thorsten Kampe
    @thorstenkampe
    How can I configure syntax highlighting for an unknown extension?
    "set filetype" works interactively
    I tried ""*.bats": { "filetype": "shell" }," in settings.json
    the status line says "shell" but no syntax highlighting is applied
    TheM3tabaron
    @TheM3tabaron
    adding a simple vim emulation option to Micro would make It a great tool. But I guess some people still use the arrow keys
    Klaus Alexander Seistrup
    @kseistrup
    third time's a charm: does anybody know how to "insert file" (at the point of the cursor) in micro?
    Klaus Alexander Seistrup
    @kseistrup
    @TheM3tabaron setting {"infobar":false} in settings.json disables the status bar.
    TheM3tabaron
    @TheM3tabaron
    @kseistrup thanks. Figured that out. Apparently Its a problem for blind folks. They need the status bar, but not the row/colomn numbers, since the Orca is having a ball reading out row/column whenever the curser is on the move
    Klaus Alexander Seistrup
    @kseistrup
    @TheM3tabaron I can imagine that must be a disturbing experience. My standard editor is JED, and it can disable cursor position. Orginally this was meant for low bandwidth connections (think: early modems (1200 baud, 2400 baud)), but it would workd equally well for people people, I assume.
    TheM3tabaron
    @TheM3tabaron
    @kseistrup That is one fancy editor :D Strange I never came across It. sooo oldschool. But I will pass on the tip :)
    Klaus Alexander Seistrup
    @kseistrup
    Yeah, JED is quite oldscgool, but I have also been using it since ~1995. ;)
    I would be surprised if emacs couldn't do what your blind friend needs, but I don't know how to do it. What do other blind people use?
    According to the UI, 267 people are connected to this forum. And not a single one of those 267 people knows how to “insert file” in micro, is that so?
    Zachary Yedidia
    @zyedidia
    To insert a file you’ll have to write a small lua extension in init.lua. You will need to make a function that takes a file name, reads it, and inserts the contents of the file into the current view (I recommend using ioutil.ReadFile to read it but you could also use the lua stdlib). You’ll probably then need to make it into a command using MakeCommand so you can execute it.
    Klaus Alexander Seistrup
    @kseistrup
    Thanks, I'll see if I can do that. Am I the only one that regularly want to insert a file into the buffer I'm currently editing, since this feature is not already a micro primitive? And is there a collection of community lua functions for micro somewhere?
    didactic-drunk
    @didactic-drunk
    Your not the only one. It should probably be standardized for keybinding.
    didactic-drunk
    @didactic-drunk
    @zyedidia I find the current CutLine behavior unintuitive (especially with a 10 second timeout) and completely breaks when trying to move lines around quickly.
    Would it be acceptable to change the default behavior to continue cutting until the first paste. After which the next cut clears the clipboard before cutting? This is closer to nano behavior.
    Serge Voilokov
    @serge-v
    @kseistrup you can try pull request #1410. It has textfilter command which can insert the file (i.e. Ctrl+E, 'textfilter cat filename').
    Klaus Alexander Seistrup
    @kseistrup
    @serge-v that's an interesting approach. the kakoune editor uses something similar, i believe. thanks for the suggestion!
    hansstimer
    @hansstimer
    My apologies if this has been asked before, but has there been any thought to supporting gopls or language servers in general
    Dylan Richardson
    @dylrich
    Hey there! I am trying to add new syntax regexes to the Go syntax file and having some trouble adding function calls, e.g. for func (m *mytype) foo(){} I would highlight just foo. I have a solution using the start/end syntax but it overwrites the highlighting other text was getting. Is there a way to control order of highlighting?
    LGG
    @lordgreggreg
    Hi there, I am on windows using putty to ssh and I need to paste some text into the micro editor. I used to know how to do this.. something about disabling mouse input.. but I can't figure it out anymore. Can anyone point me in the right direction?
    Zachary Yedidia
    @zyedidia
    Ctrl-shift-v might work (not sure if putty has a keybinding for paste). If not you can disable mouse support with > set mouse off and then right click and there will probably be a paste option.
    LGG
    @lordgreggreg
    set mouse off did work turning off the mouse, ctrl v and ctrl shift v, and using the terminals "paste" option on the right click menu of the title bar still don't work either way
    Zachary Yedidia
    @zyedidia
    You could also try shift+ins. These methods should also work for pasting in Putty when not running micro.
    LGG
    @lordgreggreg
    Yeah.. i wonder if that was how i had it working before.. I dont have an insert key on this laptop. I think I might try setting a keybinding that someone mentioned above
    LGG
    @lordgreggreg
    No luck, just says "Pasted Keyboard" similiar to how it does with the normal ctrl+v
    Nano had no issues using the right click, good enough of a work around for now. Thank you still <3
    matrixbot
    @matrixbot
    marcuse1w Sometimes I get that on Linux as well, it says Pasted Clipboard but nothing is there. Strangely that comes and goes, though. Or I have not detected a pattern yet.
    Mathieu Besançon
    @matbesancon
    is the comment plugin still active? Last commit is from almost two years, with pending PRs?
    matrixbot
    @matrixbot
    marcuse1w Works for me
    Mathieu Besançon
    @matbesancon
    yes it does work but hasn't been active it seems (PRs for comments in new languages have been submitted but nothing new)
    James Bradbury
    @jamesb93
    Hello all, cant believe I haven't known about micro up till now. Is there any plugins out there for auto completion? Or LUA extensions?