Permalink
Browse files

update vim config to be in line with @gf3's beauty.

  • Loading branch information...
paulirish committed Oct 15, 2012
1 parent e5181e5 commit a937350926a515eb93b037474a352ea70c2f3f4a
Showing with 15,808 additions and 93 deletions.
  1. 0 .vim/.VimballRecord
  2. +23 −0 .vim/after/syntax/css.vim
  3. +28 −0 .vim/after/syntax/html.vim
  4. +132 −0 .vim/autoload/pathogen.vim
  5. 0 .vim/backups/.gitignore
  6. +1,080 −0 .vim/bundle/clojure.vim/autoload/vimclojure.vim
  7. +108 −0 .vim/bundle/clojure.vim/autoload/vimclojure/util.vim
  8. +80 −0 .vim/bundle/clojure.vim/bin/clj
  9. +55 −0 .vim/bundle/clojure.vim/bin/clj.bat
  10. +38 −0 .vim/bundle/clojure.vim/bin/kickoff.sh
  11. +77 −0 .vim/bundle/clojure.vim/bin/ng-server
  12. +57 −0 .vim/bundle/clojure.vim/bin/ng-server.bat
  13. +394 −0 .vim/bundle/clojure.vim/doc/clojure.txt
  14. +1 −0 .vim/bundle/clojure.vim/ftdetect/clojure.vim
  15. +146 −0 .vim/bundle/clojure.vim/ftplugin/clojure.vim
  16. +544 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.core.txt
  17. +1 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.data.txt
  18. +13 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.inspector.txt
  19. +2 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.java.browse.txt
  20. +19 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.java.io.txt
  21. +8 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.java.javadoc.txt
  22. +4 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.java.shell.txt
  23. +13 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.main.txt
  24. +25 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.pprint.txt
  25. +13 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.repl.txt
  26. +12 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.set.txt
  27. +5 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.stacktrace.txt
  28. +15 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.string.txt
  29. +2 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.template.txt
  30. +18 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.test.junit.txt
  31. +6 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.test.tap.txt
  32. +35 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.test.txt
  33. +10 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.walk.txt
  34. +13 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.xml.txt
  35. +27 −0 .vim/bundle/clojure.vim/ftplugin/clojure/completions-clojure.zip.txt
  36. +259 −0 .vim/bundle/clojure.vim/indent/clojure.vim
  37. +60 −0 .vim/bundle/clojure.vim/plugin/clojure.vim
  38. +356 −0 .vim/bundle/clojure.vim/syntax/clojure.vim
  39. +28 −0 .vim/bundle/cocoa.vim/after/syntax/cocoa_keywords.vim
  40. +59 −0 .vim/bundle/cocoa.vim/after/syntax/objc_enhanced.vim
  41. +215 −0 .vim/bundle/cocoa.vim/autoload/objc/cocoacomplete.vim
  42. +185 −0 .vim/bundle/cocoa.vim/autoload/objc/man.vim
  43. +124 −0 .vim/bundle/cocoa.vim/autoload/objc/method_builder.vim
  44. +115 −0 .vim/bundle/cocoa.vim/autoload/objc/method_list.vim
  45. +87 −0 .vim/bundle/cocoa.vim/autoload/objc/pum_snippet.vim
  46. +154 −0 .vim/bundle/cocoa.vim/doc/cocoa.txt
  47. +85 −0 .vim/bundle/cocoa.vim/ftplugin/objc_cocoa_mappings.vim
  48. +637 −0 .vim/bundle/cocoa.vim/lib/cocoa_indexes/classes.txt
  49. +1,714 −0 .vim/bundle/cocoa.vim/lib/cocoa_indexes/constants.txt
  50. +330 −0 .vim/bundle/cocoa.vim/lib/cocoa_indexes/functions.txt
  51. BIN .vim/bundle/cocoa.vim/lib/cocoa_indexes/methods.txt.gz
  52. +105 −0 .vim/bundle/cocoa.vim/lib/cocoa_indexes/notifications.txt
  53. +222 −0 .vim/bundle/cocoa.vim/lib/cocoa_indexes/types.txt
  54. +2 −0 .vim/bundle/cocoa.vim/lib/extras/README-if-you-like
  55. +2 −0 .vim/bundle/cocoa.vim/lib/extras/README_if_you_like
  56. +94 −0 .vim/bundle/cocoa.vim/lib/extras/build_syntaxfile.py
  57. +64 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_classes.py
  58. +100 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_definitions.py
  59. +637 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_indexes/classes.txt
  60. +1,714 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_indexes/constants.txt
  61. +330 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_indexes/functions.txt
  62. BIN .vim/bundle/cocoa.vim/lib/extras/cocoa_indexes/methods.txt.gz
  63. +105 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_indexes/notifications.txt
  64. +222 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_indexes/types.txt
  65. +63 −0 .vim/bundle/cocoa.vim/lib/extras/cocoa_methods.py
  66. BIN .vim/bundle/cocoa.vim/lib/extras/superclasses
  67. +47 −0 .vim/bundle/cocoa.vim/lib/extras/superclasses.m
  68. +4 −0 .vim/bundle/cocoa.vim/lib/get_methods.sh
  69. +18 −0 .vim/bundle/cocoa.vim/plugin/cocoa.vim
  70. +43 −0 .vim/bundle/histwin.vim/Makefile
  71. +277 −0 .vim/bundle/histwin.vim/README
  72. +464 −0 .vim/bundle/histwin.vim/autoload/histwin.vim
  73. +277 −0 .vim/bundle/histwin.vim/doc/histwin.txt
  74. +790 −0 .vim/bundle/histwin.vim/histwin.vba
  75. +40 −0 .vim/bundle/histwin.vim/plugin/histwinPlugin.vim
  76. +64 −0 .vim/bundle/pastie.vim/doc/pastie.txt
  77. +486 −0 .vim/bundle/pastie.vim/plugin/pastie.vim
  78. +504 −0 .vim/colors/badwolf.vim
  79. +300 −0 .vim/colors/darkburn.vim
  80. +12 −11 .vim/colors/molokai.vim
  81. +225 −0 .vim/doc/ri.txt
  82. +262 −0 .vim/doc/tags
  83. +143 −0 .vim/doc/tags-ja
  84. +21 −0 .vim/ftdetect/ruby.vim
  85. +1 −0 .vim/ftdetect/zsh-theme.vim
  86. +292 −0 .vim/ftplugin/ri.vim
  87. +8 −0 .vim/snippets/_-gf3.snippets
  88. +30 −0 .vim/snippets/css-gf3.snippets
  89. +3 −0 .vim/snippets/html-gf3.snippets
  90. +35 −0 .vim/snippets/javascript-gf3.snippets
  91. +4 −0 .vim/snippets/sass-gf3.snippets
  92. +5 −0 .vim/spell/en.utf-8.add
  93. BIN .vim/spell/en.utf-8.add.spl
  94. 0 .vim/swaps/.gitignore
  95. +9 −0 .vim/syntax/git-diff.vim
  96. +4 −0 .vim/syntax/git-log.vim
  97. +19 −0 .vim/syntax/git-status.vim
  98. +24 −21 .vim/syntax/json.vim
  99. +78 −0 .vim/syntax/ri.vim
  100. +2 −0 .vim/syntax/ruby.vim
  101. 0 .vim/undo/.gitignore
  102. +245 −61 .vimrc
View
No changes.
View
@@ -0,0 +1,23 @@
+" Vim syntax file
+" Language: CSS 3
+" Maintainer: Shiao <i@shiao.org>
+" Last Change: 2010 Apr 5
+
+syn keyword cssTagName article aside audio bb canvas command datagrid
+syn keyword cssTagName datalist details dialog embed figure footer
+syn keyword cssTagName header hgroup keygen mark meter nav output
+syn keyword cssTagName progress time ruby rt rp section time video
+syn keyword cssTagName source figcaption
+
+syn keyword cssColorProp contained opacity
+
+syn match cssTextProp contained "\<word-wrap\>"
+syn match cssTextProp contained "\<text-overflow\>"
+
+syn match cssBoxProp contained "\<box-shadow\>"
+syn match cssBoxProp contained "\<border-radius\>"
+syn match cssBoxProp contained "\<border-\(\(top-left\|top-right\|bottom-right\|bottom-left\)-radius\)\>"
+" firefox border-radius TODO
+syn match cssBoxProp contained "-moz-border-radius\>"
+syn match cssBoxProp contained "-moz-border-radius\(-\(bottomleft\|bottomright\|topright\|topleft\)\)\>"
+
View
@@ -0,0 +1,28 @@
+" Vim syntax file
+" Language: HTML (version 5)
+" Maintainer: Rodrigo Machado <rcmachado@gmail.com>
+" URL: http://gist.github.com/256840
+" Last Change: 2010 Aug 26
+" License: Public domain
+" (but let me know if you liked it :) )
+"
+" Note: This file just adds the new tags from HTML 5
+" and don't replace default html.vim syntax file
+
+" HTML 5 tags
+syn keyword htmlTagName contained article aside audio bb canvas command datagrid
+syn keyword htmlTagName contained datalist details dialog embed figure footer
+syn keyword htmlTagName contained header hgroup keygen mark meter nav output
+syn keyword htmlTagName contained progress time ruby rt rp section time video
+syn keyword htmlTagName contained source figcaption
+
+" HTML 5 arguments
+syn keyword htmlArg contained autofocus autocomplete placeholder min max step
+syn keyword htmlArg contained contenteditable contextmenu draggable hidden item
+syn keyword htmlArg contained itemprop list sandbox subject spellcheck
+syn keyword htmlArg contained novalidate seamless pattern formtarget manifest
+syn keyword htmlArg contained formaction formenctype formmethod formnovalidate
+syn keyword htmlArg contained sizes scoped async reversed sandbox srcdoc
+syn keyword htmlArg contained hidden role
+syn match htmlArg "\<\(aria-[\-a-zA-Z0-9_]\+\)=" contained
+syn match htmlArg contained "\s*data-[-a-zA-Z0-9_]\+"
View
@@ -0,0 +1,132 @@
+" pathogen.vim - path option manipulation
+" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
+" Version: 1.2
+
+" Install in ~/.vim/autoload (or ~\vimfiles\autoload).
+"
+" API is documented below.
+
+if exists("g:loaded_pathogen") || &cp
+ finish
+endif
+let g:loaded_pathogen = 1
+
+" Split a path into a list.
+function! pathogen#split(path) abort " {{{1
+ if type(a:path) == type([]) | return a:path | endif
+ let split = split(a:path,'\\\@<!\%(\\\\\)*\zs,')
+ return map(split,'substitute(v:val,''\\\([\\,]\)'',''\1'',"g")')
+endfunction " }}}1
+
+" Convert a list to a path.
+function! pathogen#join(...) abort " {{{1
+ if type(a:1) == type(1) && a:1
+ let i = 1
+ let space = ' '
+ else
+ let i = 0
+ let space = ''
+ endif
+ let path = ""
+ while i < a:0
+ if type(a:000[i]) == type([])
+ let list = a:000[i]
+ let j = 0
+ while j < len(list)
+ let escaped = substitute(list[j],'[,'.space.']\|\\[\,'.space.']\@=','\\&','g')
+ let path .= ',' . escaped
+ let j += 1
+ endwhile
+ else
+ let path .= "," . a:000[i]
+ endif
+ let i += 1
+ endwhile
+ return substitute(path,'^,','','')
+endfunction " }}}1
+
+" Convert a list to a path with escaped spaces for 'path', 'tag', etc.
+function! pathogen#legacyjoin(...) abort " {{{1
+ return call('pathogen#join',[1] + a:000)
+endfunction " }}}1
+
+" Remove duplicates from a list.
+function! pathogen#uniq(list) abort " {{{1
+ let i = 0
+ let seen = {}
+ while i < len(a:list)
+ if has_key(seen,a:list[i])
+ call remove(a:list,i)
+ else
+ let seen[a:list[i]] = 1
+ let i += 1
+ endif
+ endwhile
+ return a:list
+endfunction " }}}1
+
+" \ on Windows unless shellslash is set, / everywhere else.
+function! pathogen#separator() abort " {{{1
+ return !exists("+shellslash") || &shellslash ? '/' : '\'
+endfunction " }}}1
+
+" Convenience wrapper around glob() which returns a list.
+function! pathogen#glob(pattern) abort " {{{1
+ let files = split(glob(a:pattern),"\n")
+ return map(files,'substitute(v:val,"[".pathogen#separator()."/]$","","")')
+endfunction "}}}1
+
+" Like pathogen#glob(), only limit the results to directories.
+function! pathogen#glob_directories(pattern) abort " {{{1
+ return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
+endfunction "}}}1
+
+" Prepend all subdirectories of path to the rtp, and append all after
+" directories in those subdirectories.
+function! pathogen#runtime_prepend_subdirectories(path) " {{{1
+ let sep = pathogen#separator()
+ let before = pathogen#glob_directories(a:path.sep."*[^~]")
+ let after = pathogen#glob_directories(a:path.sep."*[^~]".sep."after")
+ let rtp = pathogen#split(&rtp)
+ let path = expand(a:path)
+ call filter(rtp,'v:val[0:strlen(path)-1] !=# path')
+ let &rtp = pathogen#join(pathogen#uniq(before + rtp + after))
+ return &rtp
+endfunction " }}}1
+
+" For each directory in rtp, check for a subdirectory named dir. If it
+" exists, add all subdirectories of that subdirectory to the rtp, immediately
+" after the original directory. If no argument is given, 'bundle' is used.
+" Repeated calls with the same arguments are ignored.
+function! pathogen#runtime_append_all_bundles(...) " {{{1
+ let sep = pathogen#separator()
+ let name = a:0 ? a:1 : 'bundle'
+ if "\n".s:done_bundles =~# "\\M\n".name."\n"
+ return ""
+ endif
+ let s:done_bundles .= name . "\n"
+ let list = []
+ for dir in pathogen#split(&rtp)
+ if dir =~# '\<after$'
+ let list += pathogen#glob_directories(substitute(dir,'after$',name.sep.'*[^~]'.sep.'after','')) + [dir]
+ else
+ let list += [dir] + pathogen#glob_directories(dir.sep.name.sep.'*[^~]')
+ endif
+ endfor
+ let &rtp = pathogen#join(pathogen#uniq(list))
+ return 1
+endfunction
+
+let s:done_bundles = ''
+" }}}1
+
+" Invoke :helptags on all non-$VIM doc directories in runtimepath.
+function! pathogen#helptags() " {{{1
+ for dir in pathogen#split(&rtp)
+ if dir[0 : strlen($VIM)-1] !=# $VIM && isdirectory(dir.'/doc') && (!filereadable(dir.'/doc/tags') || filewritable(dir.'/doc/tags'))
+ helptags `=dir.'/doc'`
+ endif
+ endfor
+endfunction " }}}1
+
+" vim:set ft=vim ts=8 sw=2 sts=2:
View
0 .vim/backups/.gitignore 100644 → 100755
No changes.
Oops, something went wrong.

1 comment on commit a937350

@gf3

This comment has been minimized.

Show comment Hide comment
@gf3

gf3 Oct 15, 2012

gf3 commented on a937350 Oct 15, 2012

Please sign in to comment.