Fix gd
and K
in normal state that insert strings in the buffer
This commit is contained in:
parent
640d8fc19c
commit
59ff87b10d
|
@ -684,7 +684,8 @@ Example: (evil-map visual \"<\" \"<gv\")"
|
|||
while falling back to `evil-lookup'"
|
||||
(interactive)
|
||||
(condition-case nil
|
||||
(execute-kbd-macro (kbd (concat dotspacemacs-leader-key " m h h")))
|
||||
(execute-kbd-macro (listify-key-sequence
|
||||
(concat dotspacemacs-leader-key "mhh")))
|
||||
(error (evil-lookup))))
|
||||
(define-key evil-normal-state-map (kbd "K") 'spacemacs/evil-smart-doc-lookup)
|
||||
|
||||
|
@ -695,7 +696,8 @@ Example: (evil-map visual \"<\" \"<gv\")"
|
|||
while falling back to `evil-goto-definition'"
|
||||
(interactive)
|
||||
(condition-case nil
|
||||
(execute-kbd-macro (kbd (concat dotspacemacs-leader-key "m g g")))
|
||||
(execute-kbd-macro (listify-key-sequence
|
||||
(concat dotspacemacs-leader-key "mgg")))
|
||||
(error (evil-goto-definition))))
|
||||
(define-key evil-normal-state-map
|
||||
(kbd "gd") 'spacemacs/evil-smart-goto-definition)
|
||||
|
|
Loading…
Reference in a new issue