forked from FG42/FG42
1
0
Fork 0

use new defkey macro instead of general package

This commit is contained in:
amirrezaask 2020-03-20 02:38:20 +03:30
parent 79a24331c4
commit a0b1bdba81
1 changed files with 2 additions and 9 deletions

View File

@ -107,17 +107,10 @@
(global-hl-line-mode t))
;; enhance evil mode with space leader keybindings
(ability space-keys
(ability space-keys ()
"evil mode with space leader keybindings"
(when (is-evil?)
(general-define-key
:states '(normal visual insert emacs)
:prefix "SPC"
:non-normal-prefix "C-SPC"
"bl" 'switch-to-buffer
"ff" 'find-file
"sv" 'split-window-vertically
"sh" 'split-window-horizontally)))
(defkey global-map 'split-window-below :evil (:normal "SPC w s v"))))
(ability flycheck ()