Strange characters produced by emacs keybindings
kai-qu opened this issue · 3 comments
kai-qu commented
greyelf commented
Simple answer: Not Really.
Longer answer:
Twine's passage editor is built using the wxPython StyledTextCtrl control, which itself is an implementation of Scintilla, and Scintilla itself only uses/understands single-keystroke commands. (eg. a single key press with (or without) a modifier key)
So to support emac keybindings two things would have to be done:
- Modify the widget to support multi-keystroke commands. (eg. a series of key presses with (or without) a modifier key)
- Implement all the emac functionality that happens when those commands are issued.
webbedspace commented
This will probably never get off the ground, regrettably.
gdbing commented
I added support for the OSX system default emacs hotkeys to my fork. It's super hacky and shouldn't be merged back, but if anyone else is looking for a whatever-works style solution, they can find it at https://github.com/gdbing/twine