Created
March 30, 2014 20:41
-
-
Save manolenso/9879390 to your computer and use it in GitHub Desktop.
Gulp snippet for Vim editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gulp Task source | |
snippet gus | |
gulp.task('${1}', function () { | |
return gulp.src(${2}) | |
.pipe(${3}(${4}))${5} | |
}); | |
# Gulp Task Watch | |
snippet guw | |
gulp.task('watch', function () { | |
gulp.watch('${1}', ['${2}'])${3} | |
}); | |
# Gulp Watch | |
snippet gug | |
gulp.watch('${1}', ['${2}']);${3} | |
# Gulp pipe | |
snippet gup | |
.pipe(${1}('${2}'))${3} | |
# Gulp pipe bracket | |
snippet gupb | |
.pipe(${1}({ ${2}: '${3}' }))${4} | |
# Gulp var require | |
snippet guv | |
var ${1} = require('gulp-${2}');${3} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment