Add visual state mapping for "<" and ">" to "<gv" and ">gv" respectively

This commit is contained in:
syl20bnr 2015-04-23 01:17:23 -04:00
parent c036dfc843
commit a02dd56a6e

View file

@ -679,6 +679,9 @@ Example: (evil-map visual \"<\" \"<gv\")"
(call-interactively ',(lookup-key evil-normal-state-map key))
(execute-kbd-macro ,(substring seq 1)))
(execute-kbd-macro ,seq))))))
;; Keep the region active when shifting
(evil-map visual "<" "<gv")
(evil-map visual ">" ">gv")
(defun spacemacs/smart-doc-lookup ()
"Bind K to SPC m h h and fall back to `evil-lookup'"