Re: How can I get Mogan keybinding in TexMacs?

Darcy Shen <[email protected]> Wed, 16 Oct 2024 19:09:52 +0800
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
> A bit of bg: I've tried both TexMacs and Mogan recently, and I think mogan have a much saner default keybindings.




Thanks for helping me confirm that what I have done for the keybindings is nice for some users. While for other users, they are complaining about the keybindings in Mogan:

https://github.com/XmacsLabs/mogan/issues/2092



For more info, you may browse this thread on the forum: http://forum.texmacs.cn/t/texmacs-not-recognizing-meta-key-on-windows-10-keyboard/702



The key is to override `$TEXMACS_PATH/progs/texmacs/keyboard/prefix-kbd.scm` by `$TEXMACS_HOME_PATH/progs/texmacs/keyboard/prefix-kbd.scm`



Here is the history of prefix-kbd.scm: https://github.com/XmacsLabs/mogan/commits/branch-1.2/TeXmacs/progs/texmacs/keyboard/prefix-kbd.scm 







---- On Wed, 16 Oct 2024 00:02:20 +0800 proitheus <[email protected]> wrote ---



Hello everyone!

Mogan comes with a different set of default keybindings from TexMacs. I want to know how can I obtain the same keybindings in texmacs? (Without manually change them 1by1 of course)

A bit of bg: I've tried both TexMacs and Mogan recently, and I think mogan have a much saner default keybindings.

eg the shortcut for edit preamable is meta+alt+p , which doesn't work cause meta is intercepted by my DE. While I can still use esc alt+p to do it, it's much easier to press in Morgan with ctrl+shift+p.

But Morgan have some pitfalls, like blurry font on Wayland, so I can't use it directly for now.