From 032950b54561c2d82ea35adb0b91bd029843bc55 Mon Sep 17 00:00:00 2001 From: smihica Date: Fri, 16 Aug 2013 15:16:45 +0900 Subject: Added settings that the cursor to be positioned between first empty quotes. issue #9. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 55925a3..66d0788 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,20 @@ to auto-load on your sgml modes: And you can set default indent depth of HTML abbreviation. - (add-hook 'emmet-mode-hook (lambda () (setq emmet-indentation 2))) ;indent 2 spaces. + (add-hook 'emmet-mode-hook (lambda () (setq emmet-indentation 2))) ;; indent 2 spaces. Good to go: place point in a emmet snippet and press C-j to expand it (or alternatively, alias your preferred keystroke to M-x emmet-expand-line) and you'll transform your snippet into the appropriate tag structure. +If you want the cursor to be positioned between first empty quotes after expanding. + + (setq emmet-move-cursor-between-quotes t) ;; default nil + +If you don't want to move cursor after expanding itself. + + (setq emmet-move-cursor-after-expanding nil) ;; default t + ## HTML abbreviations #### Basic tags -- cgit v1.2.3