From 0edb4c8beb273d7829fba31d7d5746a401699608 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 19 Feb 2010 13:52:46 +0900 Subject: [PATCH] add vimup file. --- zencoding.vim | 100 ++++++++++++++++++++++++-------------------- zencoding.vim.vimup | 74 ++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+), 46 deletions(-) create mode 100644 zencoding.vim.vimup diff --git a/zencoding.vim b/zencoding.vim index c96b8b9..fe8e407 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -8,54 +8,62 @@ " SeeAlso: http://code.google.com/p/zen-coding/ " Usage: " -" Type abbreviation -" +------------------------------------- -" | html:5_ -" +------------------------------------- -" "_" is a cursor position. and type , -" +------------------------------------- -" | -" | -" | -" | -" | -" | -" | -" | _ -" | -" | -" +------------------------------------- -" type following -" +------------------------------------- -" | div#foo$*2>div.bar -" +------------------------------------- -" and type , -" +------------------------------------- -" |
-" |
-" |
-" |
-" | _ -" +------------------------------------- -" +" This is vim script support expanding abbreviation like zen-coding. +" ref: http://code.google.com/p/zen-coding/ +" +" Type abbreviation +" +------------------------------------- +" | html:5_ +" +------------------------------------- +" "_" is a cursor position. and type "," +" +------------------------------------- +" | +" | +" | +" | +" | +" | +" | +" | _ +" | +" | +" +------------------------------------- +" Type following +" +------------------------------------- +" | div#foo$*2>div.bar +" +------------------------------------- +" And type "," +" +------------------------------------- +" |
+" |
+" |
+" |
+" |
+" |
+" |
+" |
+" | _ +" +------------------------------------- +" " Tips: +" +" You can customize behaviour of expanding with overriding config. +" This configuration will be marged at loading plugin. +" +" let g:user_zen_settings = { +" \ 'indentation' : ' ', +" \ 'perl' : { +" \ 'aliases' : { +" \ 'req' : 'require ' +" \ }, +" \ 'snippets' : { +" \ 'use' : "use strict\nuse warnings\n\n", +" \ 'warn' : "warn \"|\";", +" \ } +" \ } +" \} " -" You can customize behaviour of expanding with overriding config. -" This configuration will be marged at loading plugin. -" -" let g:user_zen_settings = { -" \ 'indentation' : ' ', -" \ 'perl' : { -" \ 'aliases' : { -" \ 'req' : 'require ' -" \ }, -" \ 'snippets' : { -" \ 'use' : "use strict\nuse warnings\n\n", -" \ 'warn' : "warn \"|\";", -" \ } -" \ } -" \} -" +" GetLatestVimScripts: 2981 1 :AutoInstall: zencoding.vim " script type: plugin if &cp || (exists('g:loaded_zencoding_vim') && g:loaded_zencoding_vim) diff --git a/zencoding.vim.vimup b/zencoding.vim.vimup new file mode 100644 index 0000000..41d3f38 --- /dev/null +++ b/zencoding.vim.vimup @@ -0,0 +1,74 @@ +script_name: ZenCoding.vim +script_id: '2981' +script_type: utility +script_package: zencoding.vim +script_version: '0.1' +required_vim_version: '7.2' +summary: vim plugins for HTML and CSS hi-speed coding. + +detailed_description: | + + This is vim script support expanding abbreviation like zen-coding. + ref: http://code.google.com/p/zen-coding/ + + Type abbreviation + +------------------------------------- + | html:5_ + +------------------------------------- + "_" is a cursor position. and type "," + +------------------------------------- + | + | + | + | + | + | + | + | _ + | + | + +------------------------------------- + Type following + +------------------------------------- + | div#foo$*2>div.bar + +------------------------------------- + And type "," + +------------------------------------- + |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ | _ + +------------------------------------- + + Tips: + + You can customize behaviour of expanding with overriding config. + This configuration will be marged at loading plugin. + + let g:user_zen_settings = { + \ 'indentation' : ' ', + \ 'perl' : { + \ 'aliases' : { + \ 'req' : 'require ' + \ }, + \ 'snippets' : { + \ 'use' : "use strict\nuse warnings\n\n", + \ 'warn' : "warn \"|\";", + \ } + \ } + \} + +install_details: | + copy zencoding.vim to your plugin directory. + +versions: +- '0.1': | + Initial upload + +# __END__ +# vim: filetype=yaml