Fix gd
and K
in normal state that insert strings in the buffer
This commit is contained in:
parent
640d8fc19c
commit
59ff87b10d
1 changed files with 4 additions and 2 deletions
|
@ -684,7 +684,8 @@ Example: (evil-map visual \"<\" \"<gv\")"
|
||||||
while falling back to `evil-lookup'"
|
while falling back to `evil-lookup'"
|
||||||
(interactive)
|
(interactive)
|
||||||
(condition-case nil
|
(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))))
|
(error (evil-lookup))))
|
||||||
(define-key evil-normal-state-map (kbd "K") 'spacemacs/evil-smart-doc-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'"
|
while falling back to `evil-goto-definition'"
|
||||||
(interactive)
|
(interactive)
|
||||||
(condition-case nil
|
(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))))
|
(error (evil-goto-definition))))
|
||||||
(define-key evil-normal-state-map
|
(define-key evil-normal-state-map
|
||||||
(kbd "gd") 'spacemacs/evil-smart-goto-definition)
|
(kbd "gd") 'spacemacs/evil-smart-goto-definition)
|
||||||
|
|
Reference in a new issue