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
    Try running brew update, and reinstalling
    You may have to clear brew's cache
    June Wunder
    @junewunder
    alrighty thanks
    will tell you how it goes
    Zachary Yedidia
    @zyedidia
    You can always directly download the binary from the readme
    June Wunder
    @junewunder
    yes! it worked btw
    just got the chance to try it
    thx for the advice
    *IT magic
    Camille
    @onodera-punpun
    Hi, I have a few questions about the codebase
    Why are some bindings in micro.go instead of bindings.go (quit, replace, for example)
    and in commands.go there seems to be a view.Quit() under the quit command, however, I can't seem to find a Quit function view?
    Camille
    @onodera-punpun
    Oh shit I'm stupid, I added the view.Quit() thingy myself lol
    Zachary Yedidia
    @zyedidia
    the split of keybindings between bindings.go and micro.go is the difference between editor keybindings and view keybindings. Unfortunately right now it is only possible to bind the view keybindings and this is a problem I'd like to fix (see #109).
    Camille
    @onodera-punpun
    Could you please briefly explain why this isn't possible?
    also would it not be smart to create a functions.go (or some different basename), where all the functions/commands go
    that way the same functions can be used in both bindings.go and command.go
    Camille
    @onodera-punpun
    @zyedidia You forgot the rename some TabsToSpaces to tabstospaces in the help.md and bindings.go (which causes a crash on new configs)
    Zachary Yedidia
    @zyedidia
    good catch! fixed now
    Camille
    @onodera-punpun
    @zyedidia I have a enhancement idea for undo/redo
    Zachary Yedidia
    @zyedidia
    ok
    Camille
    @onodera-punpun
    atm it doesn't "stack", what I mean with this, if I press the "a" key for 2 seconds for example, I expect ctrl-z to remove the entire string of "a"s
    because to me it feels like a single action
    however, it takes 4 ctrl+z's because it removes just the last 500ms of input each time it seems
    Zachary Yedidia
    @zyedidia
    yes
    Camille
    @onodera-punpun
    how vim does it (I'm pretty sure), the "timer" resets to 0 every time a new action is done before the timer runs out
    if you get what I mean
    Zachary Yedidia
    @zyedidia
    doesn't vim just undo everything you last inserted while in insert mode?
    vim has an easier time with this because it's modal
    but i see what your saying
    its hard to define what feels like a single action to the user though
    nano seems to add a new event to the undo stack every time you insert a newline
    Camille
    @onodera-punpun
    doesn't vim just undo everything you last inserted while in insert mode?
    for me it didn't, maybe because I set "set nocompatible" or some other option
    to me what I mention feels the most natural, though that's probably because I used to use that in vim :p
    ibrokemypie
    @ibrokemypie
    ey
    anyone have a binary for centos 7 anywhere?
    ibrokemypie
    @ibrokemypie
    oop nvm
    ibrokemypie
    @ibrokemypie
    micro is more or less impossible to use without a mouse, have had to switch back to nano on my server
    Zachary Yedidia
    @zyedidia
    which movement actions would be useful that you currently can't do without a mouse? I'll try to add them in.
    ibrokemypie
    @ibrokemypie
    i think it was mostly just selection, also had issues with copying and pasting
    Camille
    @onodera-punpun
    Congrats on 1.0 :), consider making a reddit /r/golang an/or /r/linux post to bring some more attention to this great editor
    Zachary Yedidia
    @zyedidia
    Yeah I made a post on /r/programming and on Hacker News but they didn't seem to get much traction. I think I
    I think ill try again next week for labor day, and as you mention maybe posting on the smaller subreddits first is a better idea
    Aravindh Sampathkumar
    @aravindhsampath
    I saw your post on HN. Just wanted to say THANKS! Finally a simple editor that just works, with amazing mouse support. This will be my default editor from now. I'll create GitHub issues for anything useful. Cheers!
    Zachary Yedidia
    @zyedidia
    Thank you for the kind words. I'll do my best to fix any issues you come across :)
    Aravindh Sampathkumar
    @aravindhsampath
    I'd be happy to donate dollars at least for a beer. Would be great if you add a donate option somewhere in the repo.
    phat le
    @phatle
    In the future, does Micro support normal mode and key bindings like VIM?
    I'm really impressive to Micro
    Richard Guay
    @raguay
    I'll vote for better Vim integration. But, this works really well. The only problem I'm having is in Hyperterm, the wrap is after the edge of the terminal. I have to make the terminal much larger to get to the wrap area. On a Macbook Air, screen space is a premium! This works much better than slap editor!
    Richard Guay
    @raguay
    Anyone working on a Emmet plugin for it? Just noticed that it isn't here. That comes almost second nature to use that I thought all editors had it.