evil-motion-trainer icon indicating copy to clipboard operation
evil-motion-trainer copied to clipboard

Not working here

Open OrionRandD opened this issue 3 years ago • 4 comments

I have got 2 Emacs instances, but it does not load in any of them. Here are my configs:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In doom-Emacs

;; evil-motion-trainer-mode

(add-load-path! "~/.emacs.d/local-repo/evil-motion-trainer")

;; https://github.com/martinbaillie/evil-motion-trainer (setq global-evil-motion-trainer-mode 1) (setq evil-motion-trainer-threshold 3) (setq evil-motion-trainer-super-annoying-mode t) ;; (setq emt-add-suggestion 'evil-next-line 'evil-avy-goto-char-timer) ;; See also: (emt-add-suggestions)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

and in Emacs normal with Evil

;; evil-motion-trainer-mode

(add-to-list 'load-path "~/_emacs.d_Orig/local-repo/evil-motion-trainer")

;; https://github.com/martinbaillie/evil-motion-trainer (setq global-evil-motion-trainer-mode 1) (setq evil-motion-trainer-threshold 3) (setq evil-motion-trainer-super-annoying-mode t)

;; (setq emt-add-suggestion 'evil-next-line 'evil-avy-goto-char-timer) ;; See also: (emt-add-suggestions)

:(

OrionRandD avatar Mar 08 '21 17:03 OrionRandD

I have fixed the issue in doom-Emacs, using your doom-Emacs config.

But still having problems with normal Emacs:

;; evil-motion-trainer-mode

(add-to-list 'load-path "~/_emacs.d_Orig/local-repo/evil-motion-trainer")

;; https://github.com/martinbaillie/evil-motion-trainer (setq global-evil-motion-trainer-mode 1) (setq evil-motion-trainer-threshold 3) (setq evil-motion-trainer-super-annoying-mode t)

;; (setq emt-add-suggestion 'evil-next-line 'evil-avy-goto-char-timer) ;; See also: (emt-add-suggestions)

;; (straight-use-package '(evil-motion-trainer ;; :type git ;; :host github ;; :repo "martinbaillie/evil-motion-trainer") ;; :init ;; (setq global-evil-motion-trainer-mode 1) ;; :config ;; (setq evil-motion-trainer-threshold 5))

;; (use-package evil-motion-trainer ;; :init ;; :config ;; (setq evil-motion-trainer-threshold 5) ;; )

;; (map ;; :leader ;; (:prefix-map ("t" . "toggle") ;; :desc "Evil motion trainer" "t" #'evil-motion-trainer-mode))

Could you help me to fix this configuration?

OrionRandD avatar Mar 08 '21 19:03 OrionRandD

What sort of error did you get?

martinbaillie avatar Mar 09 '21 02:03 martinbaillie

@martinbaillie Gives me no error. It does not load :(

OrionRandD avatar Mar 09 '21 15:03 OrionRandD

Perhaps, you can ask your package to be part of MELPA. They, certainly, will approve it. Since it is a great idea... Or better, part of doom-Emacs, since MELPA if for Emacs without Evil

OrionRandD avatar Mar 09 '21 16:03 OrionRandD