Replies: 3 comments 1 reply
-
Hi, Start micro with the assumption that the insert key has been pressed so it starts overwriting?Not sure how to do this.
Remap behavior so enter is mapped to replicate down arrow behavior, delete to right arrow, backspace to left arrow.Add the following to your bindings.json file: "Enter": "CursorDown",
"Delete": "CursorRight",
"Backspace": "CursorLeft", You may/may-not also have to make these assignments in a sub section for the command line: "command": {
"Enter": "CursorDown",
"Delete": "CursorRight",
"Backspace": "CursorLeft",
}, Kind Regards Gavin Holt |
Beta Was this translation helpful? Give feedback.
-
Adding the following to
|
Beta Was this translation helpful? Give feedback.
-
That's great, thank you.
…On 21/07/2024 20:34, Dmytro Maluka wrote:
> Start micro with the assumption that the insert key has been pressed so it starts overwriting? (I'm not bothered either way if the user can 'flip' this by pressing the insert key or if its locked into overtype mode).
Adding the following to init.lua should work:
function onBufPaneOpen(bp)
bp:ToggleOverwriteMode()
end
—
Reply to this email directly, [view it on GitHub](#3363 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAGYM2SK2XUDXDMUZBCJH2TZNQEK5AVCNFSM6AAAAABKAJCHMGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJQHAZDQMQ).
You are receiving this because you authored the thread.Message ID: ***@***.***>
--
Ed Rogers, MD, Bristol Braille Technology CIC | +44 117 325 3022
+44 7473 625 387 | G11, 37 Philip St, Bristol, BS3 4EA, UK
|
Beta Was this translation helpful? Give feedback.
-
(This is all part of a project to use Micro to create a 'typewriter' mode for the Canute Console Braille display, referenced here: #2973.)
Could I have some advice about how to force micro to do several things related to key entry?
I appreciate that there will remain other ways of the user forcing text inserted (pasting), or deleting (using ctrl+k) and so on. That's OK for now, this is a prototype.
Thank you for your help, Micro continues to open up wonderful opportunities with the Canute display.
Ed
Beta Was this translation helpful? Give feedback.
All reactions