about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/chrome.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-20T12·11+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-22T21·13+0000
commitb4a6551dd5817059b2fff7ca59ce5956f045027d (patch)
treeee83d786cc7656054f46530995de3ffe8faca2c4 /configs/shared/.emacs.d/wpc/chrome.el
parent40742c612a59dfad6f6ab21797e2a279be1f1a78 (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/chrome.el')
-rw-r--r--configs/shared/.emacs.d/wpc/chrome.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/configs/shared/.emacs.d/wpc/chrome.el b/configs/shared/.emacs.d/wpc/chrome.el
index 4f535ebbad5a..133c7af355fa 100644
--- a/configs/shared/.emacs.d/wpc/chrome.el
+++ b/configs/shared/.emacs.d/wpc/chrome.el
@@ -6,9 +6,18 @@
 
 ;;; Code:
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Dependencies
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
 (require 'macros)
 (require 'alist)
 (require 'list)
+(require 'general)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Library
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 (defvar chrome/install-kbds? t
   "If t, install keybinding.")
@@ -69,10 +78,5 @@ Will open without toolbars if APP-MODE? is t."
    :action (lambda (entry)
              (chrome/open-url (cdr entry)))))
 
-(when chrome/install-kbds?
-  (evil-leader/set-key
-    "cb" #'chrome/browse
-    "cs" #'chrome/open-splash-pages))
-
 (provide 'chrome)
 ;;; chrome.el ends here