1.html
使用 zencoding 插件
github 库:https://github.com/rooney/zencoding
wget https://github.com/rooney/zencoding/raw/master/zencoding-mode.el
cp zencoding-mode.el ~/.emacs.d/ ;;拷贝到你的emacs加载目录下。
在.emacs 加入配置如下:
;;;Zen Coding
;'zencoding-expand-line bound to C-Return --ctrl + enter 进入zencoding模式
(add-to-list 'load-path "~/.emacs.d/plugins/zencoding/")
(require 'zencoding-mode)
(add-hook 'sgml-mode-hook 'zencoding-mode) ;;Auto-start on any markup modes
配置参考:
https://github.com/rooney/zencoding
使用参考: