Open minorugh opened 1 year ago
Thanks for providing us with a great script.
By the way, I recently installed evil-mode. I had some key-bind conflicts, but I have it set up as follows and it works fine.
evil-mode
(add-to-list 'evil-emacs-state-modes 'easy-hugo-mode)
However, only easy-hugo-newpost opens files with evil-nomal-state, so I redefined the configuration file to open files with evil-insert-state by adding the following command.
easy-hugo-newpost
evil-nomal-state
evil-insert-state
(defun easy-hugo-newpost (post-file) ((... (when (get-buffer "*hugo*") (kill-buffer "*hugo*")) (find-file filename) (when evil-mode (evil-insert-state)) (goto-char (point-max)) (save-buffer))))
It is never a request for updete, just a report of one evil user. Thank you very much.
Hi @minorugh . Thank you for report. I think it would be good to add it to README.md for people using evil-mode.
Thanks for providing us with a great script.
By the way, I recently installed
evil-mode
. I had some key-bind conflicts, but I have it set up as follows and it works fine.(add-to-list 'evil-emacs-state-modes 'easy-hugo-mode)
However, only
easy-hugo-newpost
opens files withevil-nomal-state
, so I redefined the configuration file to open files withevil-insert-state
by adding the following command.It is never a request for updete, just a report of one evil user. Thank you very much.