Prefer general to evil-leader
One small change in a larger effort to drop support for evil-leader.
This commit is contained in:
parent
b00fa4ffe8
commit
2e4092f67e
1 changed files with 6 additions and 6 deletions
|
@ -164,17 +164,17 @@ This function ignores Emacs-generated buffers, i.e. the ones that look like
|
|||
(prelude/assert (maybe/some? candidate))
|
||||
(switch-to-buffer candidate)))
|
||||
|
||||
;; TODO: Replace `evil-leader/set-key' with `general-def'.
|
||||
(when buffer/install-kbds?
|
||||
(general-define-key
|
||||
:states '(normal)
|
||||
"C-f" #'buffer/cycle-next
|
||||
"C-b" #'buffer/cycle-prev)
|
||||
(evil-leader/set-key
|
||||
"b" #'buffer/ivy-source-code
|
||||
"<SPC>" #'buffer/show-previous)
|
||||
(evil-leader/set-key
|
||||
"k" #'kill-buffer))
|
||||
(general-define-key
|
||||
:prefix "<SPC>"
|
||||
:states '(normal)
|
||||
"b" #'buffer/ivy-source-code
|
||||
"<SPC>" #'buffer/show-previous
|
||||
"k" #'kill-buffer))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Tests
|
||||
|
|
Loading…
Reference in a new issue