diff options
author | William Carroll <wpcarro@gmail.com> | 2019-12-22T21·36+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-12-24T15·21+0000 |
commit | 0cd3b44ce34affa03b0294d6c546d276abbc5579 (patch) | |
tree | 8e9c94769ffc15dadf17a8b5713aa4a51feb1f0f /configs/shared/.emacs.d/wpc | |
parent | 7bd668ee8fcc56289cca4c87c14223d6599b00e1 (diff) |
Support evil-magit, refine
It took me awhile to install evil-magit because I believed that evil-collection supported it. My grasp of Emacs bindings was enough to tolerate the strangely "inconsistent" KBD support of in magit. Eventually though my tolerance waned, and I verified that evil-collection does *not* support magit, and suggests that users seek evil-magit. I did that. I do not regret it. Installing Wilfred's refine.el, which is a lovely package for interactively editing data structures. Go LISP!
Diffstat (limited to 'configs/shared/.emacs.d/wpc')
-rw-r--r-- | configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el | 6 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/packages/wpc-misc.el | 5 |
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) |