friendly-bits
friendly-bits
My complete bindings.json file: ``` { "Alt-/": "lua:comment.comment", "\x1bOC": "SelectWordRight", "\x1bOD": "SelectWordLeft", "CtrlUnderscore": "lua:comment.comment" } ```
@JoeKar I tried to change the lines to: ``` "\\x1bOC": "SelectWordRight", "\\x1bOD": "SelectWordLeft", ``` Now micro says at launch: ``` \x1bOC is not a bindable event \x1bOD is not a...
> But at the end I've to ask the question, why not simply assign `"Left"` & `"Right"` to your actions? Well, Left and Right are the arrow keys. I need...
> When I understood `tcell` right, then it will try to handle the escaped sequence first, after no other event handling has matched. In case you now try to use...
@dmaluka I just tried binding this. I'm not getting any error either, and I don't get the assigned function either (SelectWordRight etc). What I get is the same as pressing...
> it means that your problem is that your terminal sends `CtrlShiftLeft` and `CtrlShiftRight` using the same escape sequences as for `Left` and `Right` It is not the same sequence...
I really don't understand much about how the interpretation of escape sequences works, But I'd like to ask: maybe the way to go is detect the terminal more carefully and...
> It's a moot topic. The tcell library (the library used by micro, in particular, for receiving events from the terminal) distinguishes between terminals via the `TERM` environment variable, and...
I mean, personally I'm fine with figuring out the correct escape sequences and manually changing the config. But then I'm not the only one using this software, and wouldn't it...
> if I was you, I would maybe start with simple experiments like: try using other Windows terminals On Putty, it's exact same behavior as in MobaXterm, and exact same...