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!
This commit is contained in:
parent
7bd668ee8f
commit
0cd3b44ce3
2 changed files with 10 additions and 1 deletions
|
@ -75,12 +75,17 @@
|
||||||
(setq evil-symbol-word-search t)
|
(setq evil-symbol-word-search t)
|
||||||
(evil-mode 1))
|
(evil-mode 1))
|
||||||
|
|
||||||
|
;; TODO: Write `evil-collection' KBDs for `refine'.
|
||||||
;; evil keybindings
|
;; evil keybindings
|
||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
:after (evil)
|
:after (evil)
|
||||||
:config
|
:config
|
||||||
(evil-collection-init))
|
(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
|
;; expose a leader key
|
||||||
(use-package evil-leader
|
(use-package evil-leader
|
||||||
:after (evil)
|
:after (evil)
|
||||||
|
@ -108,6 +113,7 @@
|
||||||
"b" #'ivy-switch-buffer
|
"b" #'ivy-switch-buffer
|
||||||
"W" #'balance-windows
|
"W" #'balance-windows
|
||||||
"gs" #'magit-status
|
"gs" #'magit-status
|
||||||
|
"E" #'refine
|
||||||
|
|
||||||
"es" #'wpc/create-snippet
|
"es" #'wpc/create-snippet
|
||||||
;; TODO: Replace with `macros/ilambda' when that is working again.
|
;; TODO: Replace with `macros/ilambda' when that is working again.
|
||||||
|
|
|
@ -56,7 +56,10 @@
|
||||||
;; Emacs.
|
;; Emacs.
|
||||||
(setq markdown-command "pandoc")
|
(setq markdown-command "pandoc")
|
||||||
(setq markdown-split-window-direction 'right)
|
(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.
|
;; Required by some google-emacs package commands.
|
||||||
(use-package deferred)
|
(use-package deferred)
|
||||||
|
|
Loading…
Reference in a new issue