Skip to content

Instantly share code, notes, and snippets.

View sigwyg's full-sized avatar
:octocat:

Yasuo Fukuda sigwyg

:octocat:
View GitHub Profile
@sigwyg
sigwyg / css3-property-duplicate
Created February 24, 2012 14:13 — forked from edom18/css3-property-duplicate
CSSのプロパティを、ベンダープレフィクス付きで複製するスクリプト。(インデントも引き継ぐよう修正+直前のレジスタを保持)
" -----------------------------------------------------------------------
" CSS3PropertyDuplicate(): {{{
" - Origin: https://gist.github.com/972806
" - Forked: https://gist.github.com/1901182
"
" "" -> 無名レジスタ(YなどでYankしたテキストが入る)
" @" -> 無名レジスタの内容を実行する
" @@ -> 直前に実行したレジスタを再実行する
" ""P -> 無名レジスタの内容をペースト
"