tweak evil-matchit for the html layer
This commit is contained in:
parent
a9716e3f79
commit
d8566c1752
|
@ -44,6 +44,7 @@ To use this contribution add it to your =~/.spacemacs=
|
|||
| ~SPC m r r~ | rename current element |
|
||||
| ~SPC m r w~ | wrap current element |
|
||||
| ~SPC m z~ | fold/unfold current element |
|
||||
| ~%~ | evil-matchit keybinding to jump to closing tag |
|
||||
|
||||
A micro-state is also defined, start it with ~SPC m .~ or ~, .~
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
(spacemacs|hide-lighter emmet-mode))))
|
||||
|
||||
(defun html/post-init-evil-matchit ()
|
||||
(add-hook 'web-mode-hook 'evil-matchit-mode))
|
||||
(add-hook 'web-mode-hook 'turn-on-evil-matchit-mode))
|
||||
|
||||
(defun html/post-init-flycheck ()
|
||||
(dolist (mode '(haml-mode jade-mode less-mode sass-mode scss-mode slim-mode web-mode))
|
||||
|
|
Loading…
Reference in a new issue