jmorag / kakoune.el

A very simple simulation of the kakoune editor inside of emacs.
MIT License
149 stars 10 forks source link

Example configuration does not work #11

Closed voroskoi closed 9 months ago

voroskoi commented 9 months ago

Hi,

It is probably PEBKAC, but I maybe You can help me with this. When I use the example from README.org (the longer one) ryo-modal-bindings remains empty.

The minimal working example is this:

(use-package kakoune
  :config
  (kakoune-setup-keybinds))

With this config and manual (M-x ryo-modal-mode) mode toggling the bindings work.

As soon as I try to add the :bind ("C-z" . ryo-modal-mode) line I can toggle the mode with C-z, but ryo-modal-bindings has no bindings at all.

I am running emacs-29.1. Do You have any idea what should I try?

Thanks,

voroskoi commented 9 months ago

I was able to solve this issue by adding :no-require t in the use-package definition.