Add emmet-mode configuration
This commit is contained in:
parent
f5ab56de77
commit
d41afa89fd
1 changed files with 13 additions and 0 deletions
|
@ -1712,6 +1712,19 @@
|
|||
"\\_<[-+]?[[:digit:]]+\\(?:\.[[:digit:]]+\\)?.*?\\_>"))
|
||||
#+END_SRC
|
||||
|
||||
** Emmet mode
|
||||
|
||||
I'm one of the strange people who use {{{key(C-j)}}} instead of
|
||||
{{{key(RET)}}} to insert a new line (and indent), so Emmet mode's
|
||||
default binding of using {{{key(C-j)}}} to expand a line is very
|
||||
disruptive to me.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(stante-after emmet-mode
|
||||
(define-key emmet-mode-keymap (kbd "C-j") nil)
|
||||
(define-key emmet-mode-keymap (kbd "RET") #'emmet-expand-line))
|
||||
#+END_SRC
|
||||
|
||||
* Final touches
|
||||
|
||||
These options and calls need to come last so they don't interfere
|
||||
|
|
Loading…
Reference in a new issue