Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

使用方法:

  • 安装 snipMate 插件:http://www.vim.org/scripts/script.php?script_id=2540
  • 把 snippets/css.snippets 的内容复制到 ~/.vim/snippets/css.snippets 中,如果本地没有 css.snippets 文件,直接复制文件。
  • 同样,把 snippets\html.snippets 的内容复制到 ~/.vim/snippets/html.snippets 中,如果没有则直接复制文件。
  • 重启 Vim,创建 css 文件,或执行命令 :setf css 插入默认输入 sl-rc<tab> 试试。
  • 创建 html 文件,或执行命令 :setf html 插入默认输入 sl-rc<tab> 试试。
  • 快捷键参考:https://github.com/sofish/Alice/tree/master/solutions#readme

参考这个视频的做法:http://aliceui.com/images/video/sl-vim-intro/

不能播放?下载此 mov 文件:下载此文件