diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-20T12·11+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-22T21·13+0000 |
commit | b4a6551dd5817059b2fff7ca59ce5956f045027d (patch) | |
tree | ee83d786cc7656054f46530995de3ffe8faca2c4 /configs/shared/.emacs.d/wpc/wallpaper.el | |
parent | 40742c612a59dfad6f6ab21797e2a279be1f1a78 (diff) |
Drop support for evil-leader
Preferring to use the `general` package for defining leader-prefixed keybindings than `evil-leader`. This TODO has existed for quite awhile, so I'm pleased to finish it! During the cleanup, I deleted some keybindings that I no longer used.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/wallpaper.el')
-rw-r--r-- | configs/shared/.emacs.d/wpc/wallpaper.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configs/shared/.emacs.d/wpc/wallpaper.el b/configs/shared/.emacs.d/wpc/wallpaper.el index 08758aef09c7..9aa41cd364a4 100644 --- a/configs/shared/.emacs.d/wpc/wallpaper.el +++ b/configs/shared/.emacs.d/wpc/wallpaper.el @@ -14,6 +14,7 @@ (require 'fs) (require 'cycle) (require 'string) +(require 'general) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Library @@ -81,9 +82,11 @@ ;; constants, etc. with the filename like `wallpaper'. (when wallpaper/keybindings? - (evil-leader/set-key - "Fw" #'wallpaper/next - "Pw" #'wallpaper/prev)) + (general-define-key + :prefix "<SPC>" + :states '(normal) + "Fw" #'wallpaper/next + "Pw" #'wallpaper/prev)) (provide 'wallpaper) ;;; wallpaper.el ends here |