Commits

ZHUO Qiang committed 89e197e

add html snippers

  • Participants
  • Parent commits a21a909

Comments (0)

Files changed (4)

   ;; (setq mac-control-modifier 'ctrl) ; Control key as Ctrl
   ;; (setq mac-control-modifier 'ctrl) ; Control key as Ctrl
   (setq ns-pop-up-frames nil); open file in current frame
+  (global-set-key (kbd "<s-wheel-up>") 'text-scale-increase)
+  (global-set-key (kbd "<s-wheel-down>") 'text-scale-decrease)
   )
 
 

snippets/nxml-mode/=

+# -*- mode: snippet -*-
+# name : attributes
+# key: =
+# --
+${1:class}="${2:$1}"

snippets/nxml-mode/css

+# -*- mode: snippet -*-
+# name : css
+# key: css
+# --
+<link rel="stylesheet" href="${1:http://yui.yahooapis.com/3.7.3/build/cssreset/cssreset-min}.css" />

snippets/nxml-mode/js

+# -*- mode: snippet -*-
+# name : js
+# key: js
+# --
+<script src="${1:http://yui.yahooapis.com/3.7.3/build/yui/yui-min}.js">$2</script>