 
 ;;;
 ;; Leader key
+
 (defvar my-leader-key "C-c"
   "The key used for most custom operations.")
 (defvar my-normal-leader-key "SPC"
   "The key used for most custom operations in `evil-normal-state'.")
 
-(eval `(general-define-key :states '(normal visual)
+(eval `(general-define-key :keymaps '(normal visual)
                            ,my-normal-leader-key (general-simulate-keys ,my-leader-key)))
 
 ;;;


;; debug
(general-define-key
 :states 'normal
 :keymaps 'debugger-mode-map
 "RET" '(debug-help-follow)
 "n"   '(debugger-step-through)
 "c"   '(debugger-continue))


;; diff-hl
(general-define-key
 :keymaps 'motion
 "]d" '(diff-hl-next-hunk)
 "[d" '(diff-hl-previous-hunk))

