masasam / emacs-easy-hugo

Emacs major mode for managing hugo
https://gohugo.io/tools/editors/#emacs
GNU General Public License v3.0
355 stars 26 forks source link

`easy-hugo-previous-line` doesn't work with `easy-hugo-enable-menu` #71

Closed pace577 closed 1 year ago

pace577 commented 1 year ago

When the transient menu style is enabled with easy-hugo-enable-menu, pressing k or C-p or <up> doesn't move the point up. Point movements in other directions seem to work fine.

masasam commented 1 year ago

Hi @pace577 ! Thank you for comment. It works in my environment with the following settings.

(setq easy-hugo-no-help t)
(easy-hugo-enable-menu)
pace577 commented 1 year ago

Thanks for the prompt reply @masasam! I have the same line in my :config of my use-package block, and the easy-hugo-no-help variable is set to t already. However, the issue is still there. Although, if I set the easy-hugo-no-help variable to nil and set it back to t while in the easy-hugo buffer, everything starts working fine. I am using Doom Emacs, could that be causing the issue somehow?

masasam commented 1 year ago

Please give it a try to write the settings in your :init of your use-package block instead of :config. I hope this will work.