-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 88e059a
Showing
45 changed files
with
4,495 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Neosnippet-snippets | ||
=================== | ||
|
||
The standard snippets repository for | ||
[neosnippet](https://github.com/Shougo/neosnippet.vim). | ||
|
||
You can fork or send pull request. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
snippet source-rubygems | ||
options head | ||
source :rubygems | ||
|
||
snippet gem | ||
options head | ||
gem '${1}', '${2} >= 1.0' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Global snippets | ||
|
||
snippet date | ||
options word | ||
`strftime("%d %b %Y")` | ||
|
||
snippet date_full | ||
alias df | ||
options word | ||
`strftime("%Y-%m-%dT%H:%M:%S")` | ||
|
||
snippet date_day | ||
alias dd | ||
options word | ||
`strftime("%Y-%m-%d")` | ||
|
||
snippet date_time | ||
alias dt | ||
options word | ||
`strftime("%H:%M:%S")` | ||
|
||
snippet lastmod | ||
abbr Last modified time | ||
alias lmod | ||
Last Modified: `strftime("%Y-%m-%dT%H:%M:%S")` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,265 @@ | ||
snippet ec | ||
#endinitclip | ||
|
||
|
||
snippet inc | ||
#include "${1}" | ||
|
||
|
||
snippet br | ||
break; | ||
|
||
|
||
snippet ca | ||
call(${1:#:frame}); | ||
|
||
|
||
snippet case | ||
abbr ce | ||
case ${1:#:expression} : | ||
${1:TARGET} | ||
|
||
|
||
snippet catch | ||
abbr ch | ||
catch ($1) { | ||
$2 | ||
} | ||
|
||
snippet class | ||
class ${1:#:ClassName} { | ||
var _${2}; | ||
function ${1}(${2}){ | ||
_${2} = ${2};${0} | ||
} | ||
} | ||
|
||
snippet co | ||
continue; | ||
|
||
|
||
snippet dt | ||
default : | ||
${1:TARGET} | ||
|
||
|
||
snippet de | ||
delete ${1}; | ||
|
||
|
||
snippet do | ||
do { | ||
${1:TARGET} | ||
} while (${2:#:condition}); | ||
|
||
|
||
snippet dm | ||
duplicateMovieClip(${1:#:target}, ${2:#:newName}, ${3:#:depth}); | ||
|
||
|
||
snippet ei | ||
else if (${1}) { | ||
${2:TARGET} | ||
} | ||
|
||
|
||
snippet fori | ||
abbr fi | ||
for (var ${1} in ${2}){ | ||
${3:TARGET} | ||
}; | ||
|
||
|
||
snippet for | ||
abbr fr | ||
for (var ${1} = 0; $1 < ${2}.length; $1++) { | ||
${0:TARGET} | ||
}; | ||
|
||
|
||
snippet fs | ||
fscommand(${1:#:command}, ${2:#:paramaters}); | ||
|
||
|
||
snippet fn | ||
function ${1}(${2}):${3}{ | ||
${0:TARGET} | ||
}; | ||
|
||
snippet gu | ||
getURL(${1}); | ||
|
||
|
||
snippet gp | ||
gotoAndPlay(${1}); | ||
|
||
|
||
snippet gs | ||
gotoAndStop(${1}); | ||
|
||
snippet if | ||
if (${1}) { | ||
${0:TARGET} | ||
} | ||
|
||
snippet il | ||
ifFrameLoaded (${1}) { | ||
${0:TARGET} | ||
} | ||
|
||
snippet ip | ||
import ${1}; | ||
|
||
|
||
snippet it | ||
interface ${1}{ | ||
${0:TARGET} | ||
} | ||
|
||
|
||
snippet lm | ||
loadMovie(${1:url}, ${2:target}, ${3:method}); | ||
|
||
|
||
snippet ln | ||
loadMovieNum(${1:url}, ${2:level}, ${3:method}); | ||
|
||
|
||
snippet lv | ||
loadVariables(${1:url}, ${2:target}, ${3:method}); | ||
|
||
|
||
snippet vn | ||
loadVariables(${1:url}, ${2:level}, ${3:method}); | ||
|
||
|
||
snippet mc | ||
MovieClip | ||
|
||
|
||
snippet nf | ||
nextFrame(); | ||
|
||
|
||
snippet ns | ||
nextScene(); | ||
|
||
|
||
snippet on | ||
on (${1}) { | ||
${2} | ||
}; | ||
|
||
|
||
snippet oc | ||
onClipEvent (${1}) { | ||
${0:TARGET} | ||
}; | ||
|
||
snippet pl | ||
play(); | ||
|
||
|
||
snippet pf | ||
pravFrame(); | ||
|
||
|
||
snippet ps | ||
prevScene(); | ||
|
||
|
||
snippet pr | ||
print(${1:#:target}, ${2:#:type}); | ||
|
||
|
||
snippet bn | ||
printAsBitmapNum(${1:#:level}, ${2:#:type}); | ||
|
||
|
||
snippet pn | ||
printNum(${1:#:level}, ${2:#:type}); | ||
|
||
|
||
snippet rm | ||
removeMovieClip(${1:#:target}); | ||
|
||
|
||
snippet rt | ||
return ${1}; | ||
|
||
|
||
snippet sp | ||
setProperty(${1:#:target}, ${2:#:property}, ${3:#:value}); | ||
|
||
|
||
snippet sv | ||
set(${1:#:name}, ${2:#:value}); | ||
|
||
|
||
snippet dr | ||
startDrag(${1:#:target}, ${2:#:lockcenter}, ${3:#:l}, ${4:#:t}, ${5:#:r}, ${6:#:b} ); | ||
|
||
|
||
snippet st | ||
stop(); | ||
|
||
|
||
snippet ss | ||
stopAllSounds(); | ||
|
||
|
||
snippet sd | ||
stopDrag(); | ||
|
||
|
||
snippet sw | ||
switch ( ${1:#:condition} ) { | ||
${0:TARGET} | ||
} | ||
|
||
|
||
snippet tt | ||
tellTarget( ${1:#:target} ) { | ||
${0:TARGET} | ||
} | ||
|
||
snippet th | ||
throw ${1}; | ||
|
||
|
||
snippet tq | ||
toggleHighQuality(); | ||
|
||
|
||
snippet tr | ||
trace(${1:"$0"}); | ||
|
||
|
||
snippet ty | ||
try { | ||
${0:TARGET} | ||
}; | ||
|
||
snippet um | ||
unloadMovie(${1:#:target}); | ||
|
||
|
||
snippet un | ||
unloadMovieNum(${1:#:level}); | ||
|
||
|
||
snippet vr | ||
var ${1}:${2}; | ||
|
||
|
||
snippet wh | ||
while (${1:#:condition}) { | ||
${0:TARGET} | ||
}; | ||
|
||
|
||
snippet wt | ||
with (${1:#:target}); | ||
${0:TARGET} | ||
}; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
snippet allow | ||
AllowOverride ${1:#:AuthConfig} ${2:#:FileInfo} ${3:#:Indexes} ${4:#:Limit} ${5:#:Options} | ||
|
||
|
||
snippet opt | ||
Options ${1:#:All} ${2:#:ExecCGI} ${3:#:FollowSymLinks} ${4:#:Includes} ${5:#:IncludesNOEXEC} ${6:#:Indexes} ${7:#:MultiViews} ${8:#:SymLinksIfOwnerMatch} | ||
|
||
|
||
snippet vhost | ||
<VirtualHost ${1:example.org}> | ||
ServerAdmin webmaster@${1} | ||
DocumentRoot /www/vhosts/${1} | ||
ServerName ${1} | ||
ErrorLog logs/${1}-error_log | ||
CustomLog logs/${1}-access_log common | ||
</VirtualHost> | ||
|
||
snippet dir | ||
<Directory ${1:/Library/WebServer/}> | ||
${0} | ||
</Directory> | ||
|
Oops, something went wrong.