about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/packages
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/wpc/packages')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el6
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-misc.el5
2 files changed, 10 insertions, 1 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el b/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el
index fb9c78f0e765..ed508dc7b1fd 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el
@@ -75,12 +75,17 @@
   (setq evil-symbol-word-search t)
   (evil-mode 1))
 
+;; TODO: Write `evil-collection' KBDs for `refine'.
 ;; evil keybindings
 (use-package evil-collection
   :after (evil)
   :config
   (evil-collection-init))
 
+;; `evil-collection' does not support `magit', and the preferred way to get evil
+;; kbds for magit is with `evil-magit'.
+(use-package evil-magit)
+
 ;; expose a leader key
 (use-package evil-leader
   :after (evil)
@@ -108,6 +113,7 @@
     "b"   #'ivy-switch-buffer
     "W"   #'balance-windows
     "gs"  #'magit-status
+    "E"   #'refine
 
     "es" #'wpc/create-snippet
     ;; TODO: Replace with `macros/ilambda' when that is working again.
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-misc.el b/configs/shared/.emacs.d/wpc/packages/wpc-misc.el
index 3ddfe0b3e49b..a6b1aab50b55 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-misc.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-misc.el
@@ -56,7 +56,10 @@
   ;; Emacs.
   (setq markdown-command "pandoc")
   (setq markdown-split-window-direction 'right)
-  (add-hook 'markdown-mode-hook #'markdown-live-preview-mode))
+  ;; (add-hook 'markdown-mode-hook #'markdown-live-preview-mode)
+  )
+
+(use-package refine)
 
 ;; Required by some google-emacs package commands.
 (use-package deferred)