Permalink
Browse files

all execepts bundles

  • Loading branch information...
1 parent 2b36b87 commit ed0aaa692ca08bb83ed798be769f25cdaa4c9d4c @ronanguilloux committed Mar 16, 2013
Showing with 13,021 additions and 83 deletions.
  1. +30 −0 .vim/after/ftplugin/css_snippets.vim
  2. +57 −0 .vim/after/ftplugin/html_snippets.vim
  3. +52 −0 .vim/after/ftplugin/java_snippets.vim
  4. +8 −0 .vim/after/ftplugin/javascript.vim
  5. +10 −0 .vim/after/ftplugin/javascript_snippets.vim
  6. +13 −0 .vim/after/ftplugin/latex_snippets.vim
  7. +10 −0 .vim/after/ftplugin/markdown_snippets.vim
  8. +166 −0 .vim/after/ftplugin/php.vim
  9. +30 −0 .vim/after/ftplugin/php_snippets.vim
  10. +19 −0 .vim/after/ftplugin/phpdoc_snippets.vim
  11. +18 −0 .vim/after/ftplugin/symfony.vim
  12. +21 −0 .vim/after/ftplugin/symfony_snippets.vim
  13. +48 −0 .vim/after/ftplugin/xhtml_snippets.vim
  14. +144 −0 .vim/autoload/pathogen.vim
  15. +5,498 −0 .vim/autoload/phpcomplete.vim
  16. +85 −0 .vim/ftplugin/c.vim
  17. +68 −0 .vim/ftplugin/cs.vim
  18. +6 −0 .vim/ftplugin/git.vim
  19. +75 −0 .vim/ftplugin/java.vim
  20. +616 −0 .vim/ftplugin/javascript.vim
  21. +7 −0 .vim/ftplugin/mail.vim
  22. +8 −0 .vim/ftplugin/python.vim
  23. +4 −0 .vim/ftplugin/tex.vim
  24. +2 −0 .vim/ftplugin/tmp.vim
  25. +1 −0 .vim/ftplugin/txt.vim
  26. +3 −0 .vim/ftplugin/xml.vim
  27. +215 −0 .vim/snippets/html.snippets
  28. +81 −0 .vim/snippets/javascript.snippets
  29. 0 .vim/snippets/php.snippets
  30. +28 −0 .vim/snippets/sh.snippets
  31. +7 −0 .vim/snippets/snippet.snippets
  32. +32 −0 .vim/snippets/vim.snippets
  33. BIN .vim/spell/fr.utf-8.spl
  34. BIN .vim/spell/fr.utf-8.sug
  35. +213 −0 .vim/syntax/apache.vim
  36. +62 −0 .vim/syntax/cpp.vim
  37. +282 −0 .vim/syntax/css.vim
  38. +181 −0 .vim/syntax/dtd.vim
  39. +27 −0 .vim/syntax/htmljinja.vim
  40. +80 −0 .vim/syntax/jade.vim
  41. +137 −0 .vim/syntax/javascript.vim
  42. +113 −0 .vim/syntax/jinja.vim
  43. +2,930 −0 .vim/syntax/php.api
  44. +644 −0 .vim/syntax/php.vim
  45. +295 −0 .vim/syntax/python.vim
  46. +104 −0 .vim/syntax/tmux.vim
  47. +109 −0 .vim/syntax/twig.vim
  48. +346 −0 .vim/syntax/xml.vim
  49. +83 −0 .vim/syntax/yaml.vim
  50. +18 −0 .vim/templates/html
  51. +6 −0 .vim/templates/perl
  52. +11 −0 .vim/templates/php.php
  53. +3 −0 .vim/templates/sh
  54. +15 −0 .vim/templates/xhtml.html
  55. +0 −83 .vimrc
@@ -0,0 +1,30 @@
+if !exists('loaded_snippet') || &cp
+ finish
+endif
+
+let st = g:snip_start_tag
+let et = g:snip_end_tag
+let cd = g:snip_elem_delim
+
+exec "Snippet visibility ".st.et.";".st.et
+exec "Snippet list list-style-image: url(".st.et.");".st.et
+exec "Snippet text text-shadow: rgb(".st.et.", ".st.et.", ".st.et.", ".st.et." ".st.et." ".st.et.";".st.et
+exec "Snippet overflow overflow: ".st.et.";".st.et
+exec "Snippet white white-space: ".st.et.";".st.et
+exec "Snippet clear cursor: url(".st.et.");".st.et
+exec "Snippet margin padding-top: ".st.et.";".st.et
+exec "Snippet background background #".st.et." url(".st.et.") ".st.et." ".st.et." top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x% y%/x-pos y-pos')".et.";".st.et
+exec "Snippet word word-spaceing: ".st.et.";".st.et
+exec "Snippet z z-index: ".st.et.";".st.et
+exec "Snippet vertical vertical-align: ".st.et.";".st.et
+exec "Snippet marker marker-offset: ".st.et.";".st.et
+exec "Snippet cursor cursor: ".st.et.";".st.et
+exec "Snippet border border-right: ".st.et."px ".st.et." #".st.et.";".st.et
+exec "Snippet display display: block;".st.et
+exec "Snippet padding padding: ".st.et." ".st.et.";".st.et
+exec "Snippet letter letter-spacing: ".st.et."em;".st.et
+exec "Snippet color color: rgb(".st.et.", ".st.et.", ".st.et.");".st.et
+exec "Snippet font font-weight: ".st.et.";".st.et
+exec "Snippet position position: ".st.et.";".st.et
+exec "Snippet direction direction: ".st.et.";".st.et
+exec "Snippet float float: ".st.et.";".st.et
@@ -0,0 +1,57 @@
+if !exists('loaded_snippet') || &cp
+ finish
+endif
+
+let st = g:snip_start_tag
+let et = g:snip_end_tag
+let cd = g:snip_elem_delim
+
+function! SelectDoctype()
+ let st = g:snip_start_tag
+ let et = g:snip_end_tag
+ let cd = g:snip_elem_delim
+ let dt = inputlist(['Select doctype:',
+ \ '1. HTML 4.01',
+ \ '2. HTML 4.01 Transitional',
+ \ '3. HTML 4.01 Frameset',
+ \ '4. XHTML 1.0 Frameset',
+ \ '5. XHTML Strict',
+ \ '6. XHTML Transitional',
+ \ '7. XHTML Frameset'])
+ let dts = {1: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n\"http://www.w3.org/TR/html4/strict.dtd\">\n".st.et,
+ \ 2: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\"http://www.w3.org/TR/html4/loose.dtd\">\n".st.et,
+ \ 3: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\"\n\"http://www.w3.org/TR/html4/frameset.dtd\">\n".st.et,
+ \ 4: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n".st.et,
+ \ 5: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Strict//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n".st.et,
+ \ 6: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Transitional//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n".st.et,
+ \ 7: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Frameset//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n".st.et}
+
+ return dts[dt]
+endfunction
+
+exec "Snippet doct ``SelectDoctype()``"
+exec "Snippet doctype <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"<CR><TAB>\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\"><CR>".st.et
+exec "Snippet doc4s <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"<CR>\"http://www.w3.org/TR/html4/strict.dtd\"><CR>".st.et
+exec "Snippet doc4t <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"<CR>\"http://www.w3.org/TR/html4/loose.dtd\"><CR>".st.et
+exec "Snippet doc4f <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\"<CR>\"http://www.w3.org/TR/html4/frameset.dtd\"><CR>".st.et
+exec "Snippet docxs <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Strict//EN\"<CR>\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"><CR>".st.et
+exec "Snippet docxt <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Transitional//EN\"<CR>\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><CR>".st.et
+exec "Snippet docxf <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Frameset//EN\"<CR>\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\"><CR>".st.et
+exec "Snippet head <head><CR><meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" /><CR><title>".st.et."</title><CR>".st.et."<CR></head><CR>".st.et
+exec "Snippet script <script type=\"text/javascript\" language=\"javascript\" charset=\"utf-8\"><CR>// <![CDATA[<CR><TAB>".st.et."<CR>// ]]><CR></script><CR>".st.et
+exec "Snippet title <title>".st.et."</title>"
+exec "Snippet body <body id=\"".st.et."\" ".st.et."><CR>".st.et."<CR></body><CR>".st.et
+exec "Snippet scriptsrc <script src=\"".st.et."\" type=\"text/javascript\" language=\"".st.et."\" charset=\"".st.et."\"></script><CR>".st.et
+exec "Snippet textarea <textarea name=\"".st.et."\" rows=\"".st.et."\" cols=\"".st.et."\">".st.et."</textarea><CR>".st.et
+exec "Snippet meta <meta name=\"".st.et."\" content=\"".st.et."\" /><CR>".st.et
+exec "Snippet movie <object width=\"".st.et."\" height=\"".st.et."\"<CR>classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\"<CR>codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\"><CR><param name=\"src\"<CR>value=\"".st.et."\" /><CR><param name=\"controller\" value=\"".st.et."\" /><CR><param name=\"autoplay\" value=\"".st.et."\" /><CR><embed src=\"".st.et."\"<CR>width=\"".st.et."\" height=\"".st.et."\"<CR>controller=\"".st.et."\" autoplay=\"".st.et."\"<CR>scale=\"tofit\" cache=\"true\"<CR>pluginspage=\"http://www.apple.com/quicktime/download/\"<CR>/><CR></object><CR>".st.et
+exec "Snippet div <div ".st.et."><CR>".st.et."<CR></div><CR>".st.et
+exec "Snippet mailto <a href=\"mailto:".st.et."?subject=".st.et."\">".st.et."</a>".st.et
+exec "Snippet table <table border=\"".st.et."\"".st.et." cellpadding=\"".st.et."\"><CR><tr><th>".st.et."</th></tr><CR><tr><td>".st.et."</td></tr><CR></table>"
+exec "Snippet link <link rel=\"".st.et."\" href=\"".st.et."\" type=\"text/css\" media=\"".st.et."\" title=\"".st.et."\" charset=\"".st.et."\" />"
+exec "Snippet form <form action=\"".st.et."\" method=\"".st.et."\"><CR>".st.et."<CR><CR><p><input type=\"submit\" value=\"Continue &rarr;\" /></p><CR></form><CR>".st.et
+exec "Snippet ref <a href=\"".st.et."\">".st.et."</a>".st.et
+exec "Snippet h1 <h1 id=\"".st.et."\">".st.et."</h1>".st.et
+exec "Snippet input <input type=\"".st.et."\" name=\"".st.et."\" value=\"".st.et."\" ".st.et."/>".st.et
+exec "Snippet style <style type=\"text/css\" media=\"screen\"><CR>/* <![CDATA[ */<CR>".st.et."<CR>/* ]]> */<CR></style><CR>".st.et
+exec "Snippet base <base href=\"".st.et."\"".st.et." />".st.et
@@ -0,0 +1,52 @@
+if !exists('loaded_snippet') || &cp
+ finish
+endif
+
+function! UpFirst()
+ return substitute(@z,'.','\u&','')
+endfunction
+
+function! JavaTestFileName(type)
+ let filepath = expand('%:p')
+ let filepath = substitute(filepath, '/','.','g')
+ let filepath = substitute(filepath, '^.\(:\\\)\?','','')
+ let filepath = substitute(filepath, '\','.','g')
+ let filepath = substitute(filepath, ' ','','g')
+ let filepath = substitute(filepath, '.*test.','','')
+ if a:type == 1
+ let filepath = substitute(filepath, '.[A-Za-z]*.java','','g')
+ elseif a:type == 2
+ let filepath = substitute(filepath, 'Tests.java','','')
+ elseif a:type == 3
+ let filepath = substitute(filepath, '.*\.\([A-Za-z]*\).java','\1','g')
+ elseif a:type == 4
+ let filepath = substitute(filepath, 'Tests.java','','')
+ let filepath = substitute(filepath, '.*\.\([A-Za-z]*\).java','\1','g')
+ elseif a:type == 5
+ let filepath = substitute(filepath, 'Tests.java','','')
+ let filepath = substitute(filepath, '.*\.\([A-Za-z]*\).java','\1','g')
+ let filepath = substitute(filepath, '.','\l&','')
+ endif
+
+ return filepath
+endfunction
+
+let st = g:snip_start_tag
+let et = g:snip_end_tag
+let cd = g:snip_elem_delim
+
+exec "Snippet method // {{{ ".st."method".et."<CR>/**<CR> * ".st.et."<CR> */<CR>public ".st."return".et." ".st."method".et."() {<CR>".st.et."}<CR>// }}}<CR>".st.et
+exec "Snippet jps private static final ".st."string".et." ".st.et." = \"".st.et."\";<CR>".st.et
+exec "Snippet jtc try {<CR>".st.et."<CR>} catch (".st.et." e) {<CR>".st.et."<CR>} finally {<CR>".st.et."<CR>}<CR>".st.et
+exec "Snippet jlog /** Logger for this class and subclasses. */<CR><CR>protected final Log log = LogFactory.getLog(getClass());<CR>".st.et
+exec "Snippet jpv private ".st."string".et." ".st.et.";<CR><CR>".st.et
+exec "Snippet bean // {{{ set".st."fieldName:UpFirst()".et."<CR>/**<CR> * Setter for ".st."fieldName".et.".<CR> * @param new".st."fieldName:UpFirst()".et." new value for ".st."fieldName".et."<CR> */<CR>public void set".st."fieldName:UpFirst()".et."(".st."String".et." new".st."fieldName:UpFirst()".et.") {<CR>".st."fieldName".et." = new".st."fieldName:UpFirst()".et.";<CR>}<CR>// }}}<CR><CR>// {{{ get".st."fieldName:UpFirst()".et."<CR>/**<CR> * Getter for ".st."fieldName".et.".<CR> * @return ".st."fieldName".et." */<CR>public ".st."String".et." get".st."fieldName:UpFirst()".et."() {<CR>return ".st."fieldName".et.";<CR>}<CR>// }}}<CR>".st.et
+exec "Snippet jwh while (".st.et.") { // ".st.et."<CR><CR>".st.et."<CR><CR>}<CR>".st.et
+exec "Snippet sout System.out.println(\"".st.et."\");".st.et
+exec "Snippet jtest package ".st."j:JavaTestFileName(1)".et."<CR><CR>import junit.framework.TestCase;<CR>import ".st."j:JavaTestFileName(2)".et.";<CR><CR>/**<CR> * ".st."j:JavaTestFileName(3)".et."<CR> *<CR> * @author ".st.et."<CR> * @since ".st.et."<CR> */<CR>public class ".st."j:JavaTestFileName(3)".et." extends TestCase {<CR><CR>private ".st."j:JavaTestFileName(4)".et." ".st."j:JavaTestFileName(5)".et.";<CR><CR>public ".st."j:JavaTestFileName(4)".et." get".st."j:JavaTestFileName(4)".et."() { return this.".st."j:JavaTestFileName(5)".et."; }<CR>public void set".st."j:JavaTestFileName(4)".et."(".st."j:JavaTestFileName(4)".et." ".st."j:JavaTestFileName(5)".et.") { this.".st."j:JavaTestFileName(5)".et." = ".st."j:JavaTestFileName(5)".et."; }<CR><CR>public void test".st.et."() {<CR>".st.et."<CR>}<CR>}<CR>".st.et
+exec "Snippet jif if (".st.et.") { // ".st.et."<CR>".st.et."<CR>}<CR>".st.et
+exec "Snippet jelse if (".st.et.") { // ".st.et."<CR><CR>".st.et."<CR><CR>} else { // ".st.et."<CR>".st.et."<CR>}<CR>".st.et
+exec "Snippet jpm /**<CR> * ".st.et."<CR> *<CR> * @param ".st.et." ".st.et."<CR> * ".st.et." ".st.et."<CR> */<CR>private ".st."void".et." ".st.et."(".st."String".et." ".st.et.") {<CR><CR>".st.et."<CR><CR>}<CR>".st.et
+exec "Snippet main public main static void main(String[] ars) {<CR>".st."\"System.exit(0)\"".et.";<CR>}<CR>".st.et
+exec "Snippet jpum /**<CR> * ".st.et."<CR> *<CR> * @param ".st.et." ".st.et."<CR> *".st.et." ".st.et."<CR> */<CR>public ".st."void".et." ".st.et."(".st."String".et." ".st.et.") {<CR><CR>".st.et."<CR><CR>}<CR>".st.et
+exec "Snippet jcout <c:out value=\"${".st.et."}\" />".st.et
@@ -0,0 +1,8 @@
+" Only do this when not done yet for this buffer
+if exists("b:javascript_ftplugin_loaded")
+ finish
+endif
+let b:javascript_ftplugin_loaded = 1
+
+" don't use cindent for javascript
+"setlocal nocindent
@@ -0,0 +1,10 @@
+if !exists('loaded_snippet') || &cp
+ finish
+endif
+
+let st = g:snip_start_tag
+let et = g:snip_end_tag
+let cd = g:snip_elem_delim
+
+exec "Snippet proto ".st."className".et.".prototype.".st."methodName".et." = function(".st.et.")<CR>{<CR>".st.et."<CR>};<CR>".st.et
+exec "Snippet fun function ".st."functionName".et." (".st.et.")<CR>{<CR><Tab>".st.et."<CR><BS>}<CR>".st.et
@@ -0,0 +1,13 @@
+if !exists('loaded_snippet') || &cp
+ finish
+endif
+
+let st = g:snip_start_tag
+let et = g:snip_end_tag
+let cd = g:snip_elem_delim
+
+exec "Snippet sub \\subsection{".st."name".et."}\\label{sub:".st."name:substitute(@z,'.','\\l&','g')".et."}<CR>".st.et
+exec "Snippet $$ \\[<CR>".st.et."<CR>\\]<CR>".st.et
+exec "Snippet ssub \\subsubsection{".st."name".et."}\\label{ssub:".st."name:substitute(@z,'.','\\l&','g')".et."}<CR>".st.et
+exec "Snippet itd \\item[".st."desc".et."] ".st.et
+exec "Snippet sec \\section{".st."name".et."}\\label{sec:".st."name:substitute(@z,'.','\\l&','g')".et."}<CR>".st.et
@@ -0,0 +1,10 @@
+if !exists('loaded_snippet') || &cp
+ finish
+endif
+
+let st = g:snip_start_tag
+let et = g:snip_end_tag
+let cd = g:snip_elem_delim
+
+exec "Snippet img ![".st."altText".et."](".st."SRC".et.")".st.et
+exec "Snippet link [".st."desc".et."](".st."HREF".et.")".st.et
Oops, something went wrong.

0 comments on commit ed0aaa6

Please sign in to comment.