1
0
Fork 0
mirror of synced 2024-12-22 15:08:57 -05:00

Removed snipmate-snippets

It's redundant as vim-snippets is already included.

Fixes https://github.com/amix/vimrc/issues/489
This commit is contained in:
amix 2019-11-30 13:01:31 +01:00
parent 9234352b8c
commit 44bc76b209
795 changed files with 0 additions and 1907 deletions

View file

@ -1,16 +0,0 @@
*~
.DS_Store
*.log
*.tmp
*.swp
*.old
*.bkp
*.zip
*.rar
*.arj
*.[t]gz
*.[t]bz2
tmp/
log/

View file

@ -1,24 +0,0 @@
#require 'fileutils'
#include FileUtils
namespace :snippets_dir do
task :find do
vim_dir = File.join(ENV['VIMFILES'] || ENV['HOME'] || ENV['USERPROFILE'], RUBY_PLATFORM =~ /mswin|msys|mingw32/ ? "vimfiles" : ".vim")
pathogen_dir = File.join(vim_dir, "bundle")
@snippets_dir = File.directory?(pathogen_dir) ? File.join(pathogen_dir, "snipmate", "snippets") : File.join(vim_dir, "snippets")
end
desc "Purge the contents of the vim snippets directory"
task :purge => ["snippets_dir:find"] do
rm_rf @snippets_dir, :verbose => true if File.directory? @snippets_dir
mkdir @snippets_dir, :verbose => true
end
end
desc "Copy the snippets directories into ~/.vim/snippets"
task :deploy_local => ["snippets_dir:purge"] do
Dir.foreach(".") do |f|
cp_r f, @snippets_dir, :verbose => true if File.directory?(f) && f =~ /^[^\.]/
end
cp "support_functions.vim", @snippets_dir, :verbose => true
end

View file

@ -1 +0,0 @@
`strftime("%Y-%m-%d %H:%M:%S")`

View file

@ -1 +0,0 @@
`strftime("%Y-%m-%d")`

View file

@ -1 +0,0 @@
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View file

@ -1 +0,0 @@
`Snippet_Modeline()`

View file

@ -1,29 +0,0 @@
<project name="PROJECT NAME" default="dist" basedir=".">
<description>
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source " >
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="dist" depends="compile" description="generate the distribution" >
<mkdir dir="${dist}/lib"/>
<jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up" >
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>

View file

@ -1,7 +0,0 @@
class ${1:`Filename('$1_t', 'name')`} {
public:
$1 (${2:arguments});
virtual ~$1 ();
private:
${3:/* data */}
};

View file

@ -1,3 +0,0 @@
#ifndef $1
#define ${1:SYMBOL} ${2:value}
#endif${3}

View file

@ -1,3 +0,0 @@
do {
${2:/* code */}
} while (${1:/* condition */});

View file

@ -1,3 +0,0 @@
else {
${1}
}

View file

@ -1,3 +0,0 @@
for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
${4:/* code */}
}

View file

@ -1,3 +0,0 @@
for (${1:i} = 0; ${2:$1 < 5}; $1${3:++}) {
${4:/* code */}
}

View file

@ -1 +0,0 @@
fprintf(${1:stderr}, "${2:%s}\n"${3});${4}

View file

@ -1,4 +0,0 @@
${1:void} ${2:function_name} (${3})
{
${4:/* code */}
}

View file

@ -1,3 +0,0 @@
if (${1:/* condition */}) {
${2:/* code */}
}

View file

@ -1 +0,0 @@
#include "${1:`Filename("$1.h")`}"${2}

View file

@ -1 +0,0 @@
#include <${1:stdio}.h>${2}

View file

@ -1,5 +0,0 @@
int main (int argc, char const* argv[])
{
${1:/* code */}
return 0;
}

View file

@ -1 +0,0 @@
std::map<${1:key}, ${2:value}> map${3};

View file

@ -1,3 +0,0 @@
namespace ${1:`Filename('', 'my')`} {
${2}
} /* $1 */

View file

@ -1,6 +0,0 @@
#ifndef ${1:`toupper(Filename('', 'UNTITLED').'_'.system("/usr/bin/ruby -e 'print (rand * 2821109907455).round.to_s(36)'"))`}
#define $1
${2}
#endif /* end of include guard: $1 */

View file

@ -1 +0,0 @@
printf("${1:%s}\n"${2});${3}

View file

@ -1,7 +0,0 @@
std::vector<char> v;
if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) {
char buf[1024];
while (size_t len = fread(buf, 1, sizeof(buf), $2))
v.insert(v.end(), buf, buf + len);
fclose($2);
}${3}

View file

@ -1,3 +0,0 @@
struct ${1:`Filename('$1_t', 'name')`} {
${2:/* data */}
}${3: /* optional variable list */};${4}

View file

@ -1 +0,0 @@
${1:/* condition */} ? ${2:a} : ${3:b}'

View file

@ -1 +0,0 @@
typedef ${1:int} ${2:MyCustomType};

View file

@ -1,3 +0,0 @@
typedef struct {
${2:/* data */}
} ${1:`Filename('$1_t', 'name')`};

View file

@ -1 +0,0 @@
std::vector<${1:char}> v${2};

View file

@ -1,3 +0,0 @@
while (${1:/* condition */}) {
${2:/* code */}
}

View file

@ -1,3 +0,0 @@
#${1:id} {
${2}
}

View file

@ -1 +0,0 @@
background:${6: #${1:DDD}} url($2) ${3:repeat/repeat-x/repeat-y/no-repeat} ${4:scroll/fixed} ${5:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0

View file

@ -1 +0,0 @@
background-attachment: ${1:scroll/fixed};$0

View file

@ -1 +0,0 @@
background-color: #${1:DDD};$0

View file

@ -1 +0,0 @@
background-color: ${1:red};$0

View file

@ -1 +0,0 @@
background-color: rgb(${1:255},${2:255},${3:255});$0

View file

@ -1 +0,0 @@
background-color: transparent;$0

View file

@ -1 +0,0 @@
background-image: none;$0

View file

@ -1 +0,0 @@
background-image: url($1);$0

View file

@ -1 +0,0 @@
background-position: ${1:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0

View file

@ -1 +0,0 @@
background-repeat: ${1:repeat/repeat-x/repeat-y/no-repeat};$0

View file

@ -1 +0,0 @@
border: ${1:1px} ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-color: ${1:999};$0

View file

@ -1 +0,0 @@
border-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View file

@ -1 +0,0 @@
border-width: ${1:1px};$0

View file

@ -1 +0,0 @@
border-bottom: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-bottom-color: #${1:999};$0

View file

@ -1 +0,0 @@
border-bottom-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View file

@ -1 +0,0 @@
border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-left: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-left-color: #${1:999};$0

View file

@ -1 +0,0 @@
border-left-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View file

@ -1 +0,0 @@
border-left-width: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-right: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-right-color: #${1:999};$0

View file

@ -1 +0,0 @@
border-right-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View file

@ -1 +0,0 @@
border-right-width: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-top: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1 +0,0 @@
border-top-color: #${1:999};$0

View file

@ -1 +0,0 @@
border-top-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View file

@ -1 +0,0 @@
border-top-width: ${1:1}px ${2:solid} #${3:999};$0

View file

@ -1,3 +0,0 @@
.${1:class} {
${2:color: pink;}
}

View file

@ -1 +0,0 @@
clear: ${1:left/right/both/none};$0

View file

@ -1 +0,0 @@
color: #${1:DDD};$0

View file

@ -1 +0,0 @@
color: ${1:red};$0

View file

@ -1 +0,0 @@
color: rgb(${1:255},${2:255},${3:255});$0

View file

@ -1 +0,0 @@
cursor: ${1:default/auto/crosshair/pointer/move/*-resize/text/wait/help};$0

View file

@ -1 +0,0 @@
cursor: url($1);$0

View file

@ -1 +0,0 @@
direction: ${1:ltr|rtl};$0

View file

@ -1 +0,0 @@
display: block;$0

View file

@ -1 +0,0 @@
display: ${1:none/inline/block/list-item/run-in/compact/marker};$0

View file

@ -1 +0,0 @@
display: inline;$0

View file

@ -1 +0,0 @@
display: ${1:table/inline-table/table-row-group/table-header-group/table-footer-group/table-row/table-column-group/table-column/table-cell/table-caption};$0

View file

@ -1 +0,0 @@
float: ${1:left/right/none};$0

View file

@ -1 +0,0 @@
font: ${1:normal/italic/oblique} ${2:normal/small-caps} ${3:normal/bold} ${4:1em/1.5em} ${5:Arial}, ${6:sans-}serif;$0

View file

@ -1 +0,0 @@
font-family: ${1:Arial, "MS Trebuchet"}, ${2:sans-}serif;$0

View file

@ -1 +0,0 @@
font-size: ${1:100%};$0

View file

@ -1 +0,0 @@
font: ${1:75%} ${2:"Lucida Grande", "Trebuchet MS", Verdana,} ${3:sans-}serif;$0

View file

@ -1 +0,0 @@
font-style: ${1:normal/italic/oblique};$0

View file

@ -1 +0,0 @@
font-variant: ${1:normal/small-caps};$0

View file

@ -1 +0,0 @@
font-weight: ${1:normal/bold};$0

View file

@ -1 +0,0 @@
${1:!important}

View file

@ -1 +0,0 @@
letter-spacing: ${1}${2:em/px};$0

View file

@ -1 +0,0 @@
letter-spacing: $1em;$0

View file

@ -1 +0,0 @@
letter-spacing: $1px;$0

View file

@ -1 +0,0 @@
list-style-image: url($1);$0

View file

@ -1 +0,0 @@
list-style-position: ${1:inside/outside};$0

View file

@ -1 +0,0 @@
list-style-type: ${1:cjk-ideographic/hiragana/katakana/hiragana-iroha/katakana-iroha};$0

View file

@ -1 +0,0 @@
list-style-type: ${1:none/disc/circle/square};$0

View file

@ -1 +0,0 @@
list-style-type: ${1:decimal/decimal-leading-zero/zero};$0

View file

@ -1 +0,0 @@
list-style-type: ${1:hebrew/armenian/georgian};$0

View file

@ -1 +0,0 @@
list-style: ${1:none/disc/circle/square/decimal/zero} ${2:inside/outside} url($3);$0

View file

@ -1 +0,0 @@
list-style-type: ${1:lower-roman/upper-roman/lower-alpha/upper-alpha/lower-greek/lower-latin/upper-latin};$0

View file

@ -1 +0,0 @@
margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0

View file

@ -1 +0,0 @@
margin-bottom: ${1:20px};$0

View file

@ -1 +0,0 @@
margin-left: ${1:20px};$0

View file

@ -1 +0,0 @@
margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0

View file

@ -1 +0,0 @@
margin: ${1:20px} ${2:0px};$0

View file

@ -1 +0,0 @@
margin: ${1:20px};$0

View file

@ -1 +0,0 @@
margin-bottom: ${1:20px};$0

Some files were not shown because too many files have changed in this diff Show more