dandavison / xenops

An editing environment for LaTeX mathematical documents
MIT License
228 stars 14 forks source link

Playing nicely with evil and org-mode #64

Open alexeyre opened 1 year ago

alexeyre commented 1 year ago

Hi, First of all I love this package! But I'm having some issues getting it to work the way I want in org-mode with evil.

By default the return key is bound to reveal the equation at point, but I'm trying to disable this binding as I have xenops-reveal-on-entry set to t with the following:

(define-key xenops-rendered-element-keymap [(return)] nil)

But return still seems to be causing equations to reveal, any ideas what I'm doing wrongly?

Furthermore the escape key is causing equations to reveal but I can't for the life of me find where this bind is in the package, do you have any pointers?

Again I love this package, and I'm sorry if I've missed anything obvious.

Org mode version 9.6.1 (9.6.1-gfff923 @ /Users/alex/.config/emacs/straight/build/org/)
GNU Emacs 28.2 (build 1, aarch64-apple-darwin22.2.0, Carbon Version 169 AppKit 2299.3) of 2023-02-17