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.
Richard Guay
@raguay
Has anyone created third party plugins yet? Is there a repository for plugins and themes?
Zachary Yedidia
@zyedidia
@phatle no I don't think micro will get vim keybindings in the future, because if you want vim keybindings, there are already many vim clones, and of course there is vim itself
teryanik
@teryanik
Hey all!
Zachary Yedidia
@zyedidia
Hi
Since you have xclip already installed, does it work to copy and paste using Ctrl-C and Ctrl-V?
teryanik
@teryanik
Sorry for my english:( No, ctrl+c & ctrl+v doesn't work. :(
Zachary Yedidia
@zyedidia
are you sure you are using X11 forwarding?
teryanik
@teryanik
I don't sure, how to check?
Zachary Yedidia
@zyedidia
when you ssh, do you use ssh -X?
teryanik
@teryanik
yes
/etc/ssh/sshd_config on server has "ForwardX11 yes"
Zachary Yedidia
@zyedidia
ok and it doesn't say that the forwarding request failed
teryanik
@teryanik
Oh, sorry for my stupidity "X11 forwarding request failed on channel 0"