Is it intended that plugins (including the built-in lua:comment.comment) modify bindings.json on every start-up? It's pretty weird, I would expect the plugins to modify it once when they are installed and if I later decide to remove some keybindings just let it be
Hi there. I couldn't find a way to resize splits. Apparently, you can drag the split separator but Micro's mouse support in Windows terminal seems to have stopped working after v2. Is there a command that allows me to resize splits?
vivekkoul1
@vivekkoul1
How can I open the internal terminal window in micro editor and also text editor simultaneously? I want to see the output and my source code in seperate windows.
Dmitry Maluka
@dmaluka
@Andriamanitra Plugins don't modify bindings.json on every startup, they add a binding only if there is no binding for the given key in bindings.json yet. You can add a binding to None to prevent plugins from installing their own bindings for this key.
I'am using Version: 2.0.9 Commit hash: 6bc498e6 Compiled on May 17, 2021
from Manjaro repository
Merith
@Merith-TK
uhm
I need to find the docuentation for plugins...
João Paulo Albuquerque
@joaopauloalbq
nightly fix that indeed, thank u @zyedidia :)
Mario Rocha
@mariorocha2308
Hi , friends .. I´ve installed micro in windows with my hyper terminal and say bash micro command not found
_Arabica
@PeriodGamingYT
I have installed micro on many of my computers, works perfectly!
Kristoffer Franzon
@KrissLaCross
Hey! Quick question: can I force hide the ruler from inside a plugin?
Kristoffer Franzon
@KrissLaCross
Never mind! It was as easy as SetOptionNative('ruler', false)
Kristoffer Franzon
@KrissLaCross
How would one run micro specific commands from inside a plugin? It seems like ExecCommand/RunCommand/RunBackgroundShell only run native shell commands. In my case I would like to run micro commands like "open 'file'" or "cd 'path'"
ice-be
@ice-be
is micro has an internal terminal
1 reply
Zachary Yedidia
@zyedidia
I think buffer panes have a method HandleCommand which will execute the given command.
I think buffer panes have a method HandleCommand which will execute the given command.
Oh awesome! I went digging around in the github but didn't find anything that seemed relevant, turns out I must be blind. I'll give 'HandleCommand' a shot later. Thank you!
Mikko
@Andriamanitra
is it possible to customize the bindings help text (that pops up by pressing Alt-g by default)? i have customized some bindings so it's slightly inaccurate and i would also like to add some stuff that i tend to forget all the time
Mikko
@Andriamanitra
well this is the dirtiest hack i've done in a while but it works (as long as the replacement is the same length as the old one) so :laughing: perl -pi -e 's/\\, \\^A Select All\\, \\^D Duplicate Line\\, \\^T New Tab/, ^D Find Next, ^T New Tab, Alt-,\/. Switch Tab/' /usr/bin/micro
Derek
@derekthomas
textfilter doesn't seem to work with interactive shell commands. It either hangs at the command prompt or messes up my terminal. And I've tried a few terminal programs and platforms.
...Is that to be expected and/or is there a workaround?
Hi, is there a simple way to test the filetype detection in isolation? I'm trying to fix zyedidia/micro#2163
Pito Salas
@pitosalas
Quick q: i did something so now micro doesn't realize that I used my mouse to select... something about mouse tracking but I can't remember or figure out how to get it back :(
Zachary Yedidia
@zyedidia
Did you turn the mouse option off? You can turn it back on with set mouse on
kevincotter
@kevincotter
I did a bit of a Powerline mod, if anyone is interested.
My Golang skills are non-existent, tho, so keep that in mind. =D
as of now micro just shows "lisp" (whatever that means?) as the filetype and no highlighting is shown at all, except for the 4 mathematical operators (and even then, its glitched: the left parenthesis gets highlighted too and it shouldn't). are there any plans to implement a proper Scheme syntax highlighting in the near future?
SwitchAxe
@SwitchAxe
ok there appears to also be string highlighting and also literals (things starting with ') but that's it
Andy
@drewauff
ctrl-v to paste is not working in latest version..however cutting a line (ctrl-k) then undoing that cut, make its work again, this is a bug, it is repeatable. note: iTerm2 ( latest beta on MacOS Catalina)