Permalink
Browse files

Cleanup

  • Loading branch information...
1 parent 8921ff3 commit cfa883d154a13f4c99925462308d6fe958092d6f @spicycode committed Feb 21, 2011
Showing with 824 additions and 45,636 deletions.
  1. +1 −0 .gitignore
  2. +3 −17 auto_commands.vim
  3. +0 −132 autoload/pathogen.vim
  4. +0 −1 bundle/ack-vim/.gitignore
  5. +0 −80 bundle/ack-vim/README.md
  6. +0 −23 bundle/ack-vim/Rakefile
  7. +0 −50 bundle/ack-vim/doc/ack.txt
  8. +0 −61 bundle/ack-vim/plugin/ack.vim
  9. +0 −1,378 bundle/conque_1.0/autoload/conque_term.vim
  10. +0 −156 bundle/conque_1.0/doc/conque_term.txt
  11. +0 −80 bundle/conque_1.0/plugin/conque_term.vim
  12. +0 −77 bundle/conque_1.0/syntax/conque_term.vim
  13. +0 −327 bundle/css_color/after/syntax/css.vim
  14. +0 −111 bundle/gist.vim/README.mkd
  15. +0 −182 bundle/gist.vim/gist.vim.vimup
  16. +0 −715 bundle/gist.vim/plugin/gist.vim
  17. +0 −3 bundle/haml.vim/ftdetect/haml.vim
  18. +0 −67 bundle/haml.vim/ftplugin/haml.vim
  19. +0 −22 bundle/haml.vim/ftplugin/sass.vim
  20. +0 −12 bundle/haml.vim/ftplugin/scss.vim
  21. +0 −73 bundle/haml.vim/indent/haml.vim
  22. +0 −39 bundle/haml.vim/indent/sass.vim
  23. +0 −12 bundle/haml.vim/indent/scss.vim
  24. +0 −109 bundle/haml.vim/syntax/haml.vim
  25. +0 −90 bundle/haml.vim/syntax/sass.vim
  26. +0 −20 bundle/haml.vim/syntax/scss.vim
  27. +0 −2 bundle/jslint.vim/.gitignore
  28. +0 −13 bundle/jslint.vim/CHANGES
  29. +0 −22 bundle/jslint.vim/LICENSE
  30. +0 −147 bundle/jslint.vim/README.markdown
  31. +0 −61 bundle/jslint.vim/Rakefile
  32. +0 −25 bundle/jslint.vim/bin/jslint
  33. +0 −187 bundle/jslint.vim/ftplugin/javascript/jslint.vim
  34. +0 −5,806 bundle/jslint.vim/ftplugin/javascript/jslint/jslint-core.js
  35. +0 −87 bundle/jslint.vim/ftplugin/javascript/jslint/runjslint.js
  36. +0 −39 bundle/jslint.vim/ftplugin/javascript/jslint/runjslint.wsf
  37. +0 −6 bundle/markdown/ftdetect/markdown.vim
  38. +0 −18 bundle/markdown/ftplugin/markdown.vim
  39. +0 −104 bundle/markdown/syntax/markdown.vim
  40. +32 −2 bundle/nerdcommenter/doc/NERD_commenter.txt
  41. +44 −15 bundle/nerdcommenter/plugin/NERD_commenter.vim
  42. +4 −0 bundle/nerdtree/doc/NERD_tree.txt
  43. +2 −2 bundle/nerdtree/nerdtree_plugin/fs_menu.vim
  44. +98 −89 bundle/nerdtree/plugin/NERD_tree.vim
  45. +0 −83 bundle/oop_javascript/indent/javascript.vim
  46. +0 −76 bundle/slimv.vim/README
  47. +0 −1,518 bundle/slimv.vim/doc/slimv.txt
  48. +0 −2 bundle/slimv.vim/ftdetect/clojure.vim
  49. +0 −121 bundle/slimv.vim/ftplugin/clojure/slimv-clojure.vim
  50. +0 −149 bundle/slimv.vim/ftplugin/lisp/slimv-lisp.vim
  51. +0 −1,227 bundle/slimv.vim/ftplugin/metering.lisp
  52. +0 −2,236 bundle/slimv.vim/ftplugin/slimv-clhs.vim
  53. +0 −554 bundle/slimv.vim/ftplugin/slimv-cljapi.vim
  54. +0 −3,820 bundle/slimv.vim/ftplugin/slimv-javadoc.vim
  55. +0 −574 bundle/slimv.vim/ftplugin/slimv.py
  56. +0 −1,669 bundle/slimv.vim/ftplugin/slimv.vim
  57. +0 −20 bundle/slimv.vim/indent/clojure.vim
  58. +0 −1,234 bundle/slimv.vim/plugin/paredit.vim
  59. +0 −34 bundle/slimv.vim/syntax/clojure/slimv-syntax-clojure.vim
  60. +0 −308 bundle/supertab/doc/supertab.txt
  61. +0 −510 bundle/supertab/plugin/supertab.vim
  62. +0 −7 bundle/vim-coffee-script/ftdetect/coffee.vim
  63. +0 −19 bundle/vim-coffee-script/ftplugin/coffee.vim
  64. +0 −205 bundle/vim-coffee-script/indent/coffee.vim
  65. +0 −84 bundle/vim-coffee-script/readme.md
  66. +0 −177 bundle/vim-coffee-script/syntax/coffee.vim
  67. +0 −19 bundle/vim-coffee-script/thanks.md
  68. +0 −32 bundle/vim-coffee-script/todo.md
  69. +0 −29 bundle/vim-cucumber/compiler/cucumber.vim
  70. +0 −2 bundle/vim-cucumber/ftdetect/cucumber.vim
  71. +0 −132 bundle/vim-cucumber/ftplugin/cucumber.vim
  72. +0 −60 bundle/vim-cucumber/indent/cucumber.vim
  73. +0 −126 bundle/vim-cucumber/syntax/cucumber.vim
  74. +3 −1 bundle/vim-fugitive/doc/fugitive.txt
  75. +75 −25 bundle/vim-fugitive/plugin/fugitive.vim
  76. +0 −1,046 bundle/vim-fuzzyfinder/autoload/fuf.vim
  77. +0 −163 bundle/vim-fuzzyfinder/autoload/fuf/bookmarkdir.vim
  78. +0 −199 bundle/vim-fuzzyfinder/autoload/fuf/bookmarkfile.vim
  79. +0 −189 bundle/vim-fuzzyfinder/autoload/fuf/buffer.vim
  80. +0 −300 bundle/vim-fuzzyfinder/autoload/fuf/buffertag.vim
  81. +0 −137 bundle/vim-fuzzyfinder/autoload/fuf/callbackfile.vim
  82. +0 −139 bundle/vim-fuzzyfinder/autoload/fuf/callbackitem.vim
  83. +0 −172 bundle/vim-fuzzyfinder/autoload/fuf/changelist.vim
  84. +0 −199 bundle/vim-fuzzyfinder/autoload/fuf/coveragefile.vim
  85. +0 −132 bundle/vim-fuzzyfinder/autoload/fuf/dir.vim
  86. +0 −139 bundle/vim-fuzzyfinder/autoload/fuf/file.vim
  87. +0 −123 bundle/vim-fuzzyfinder/autoload/fuf/givencmd.vim
  88. +0 −123 bundle/vim-fuzzyfinder/autoload/fuf/givendir.vim
  89. +0 −121 bundle/vim-fuzzyfinder/autoload/fuf/givenfile.vim
  90. +0 −198 bundle/vim-fuzzyfinder/autoload/fuf/help.vim
  91. +0 −182 bundle/vim-fuzzyfinder/autoload/fuf/jumplist.vim
  92. +0 −135 bundle/vim-fuzzyfinder/autoload/fuf/line.vim
  93. +0 −134 bundle/vim-fuzzyfinder/autoload/fuf/mrucmd.vim
  94. +0 −234 bundle/vim-fuzzyfinder/autoload/fuf/mrufile.vim
  95. +0 −154 bundle/vim-fuzzyfinder/autoload/fuf/quickfix.vim
  96. +0 −178 bundle/vim-fuzzyfinder/autoload/fuf/tag.vim
  97. +0 −159 bundle/vim-fuzzyfinder/autoload/fuf/taggedfile.vim
  98. +0 −1,405 bundle/vim-fuzzyfinder/doc/fuf.jax
  99. +0 −1,883 bundle/vim-fuzzyfinder/doc/fuf.txt
  100. +0 −158 bundle/vim-fuzzyfinder/plugin/fuf.vim
  101. +1 −1 bundle/vim-git/ftplugin/gitcommit.vim
  102. +2 −0 bundle/vim-git/indent/gitconfig.vim
  103. +0 −65 bundle/vim-indent-guides/README.markdown
  104. +0 −880 bundle/vim-indent-guides/autoload/color_helper.vim
  105. +0 −240 bundle/vim-indent-guides/autoload/indent_guides.vim
  106. +0 −253 bundle/vim-indent-guides/doc/indent_guides.txt
  107. +0 −63 bundle/vim-indent-guides/plugin/indent_guides.vim
  108. +0 −25 bundle/vim-indent-guides/test-files/test-ts2sw2et.txt
  109. +0 −25 bundle/vim-indent-guides/test-files/test-ts2sw2noet.txt
  110. +0 −25 bundle/vim-indent-guides/test-files/test-ts4sw4et.txt
  111. +0 −25 bundle/vim-indent-guides/test-files/test-ts4sw4noet.txt
  112. +0 −25 bundle/vim-indent-guides/test-files/test-ts8sw8et.txt
  113. +0 −25 bundle/vim-indent-guides/test-files/test-ts8sw8noet.txt
  114. BIN bundle/vim-l9/.hg/00changelog.i
  115. +0 −1 bundle/vim-l9/.hg/branch
  116. +0 −2 bundle/vim-l9/.hg/branchheads.cache
  117. BIN bundle/vim-l9/.hg/dirstate
  118. +0 −2 bundle/vim-l9/.hg/hgrc
  119. +0 −3 bundle/vim-l9/.hg/requires
  120. BIN bundle/vim-l9/.hg/store/00changelog.i
  121. BIN bundle/vim-l9/.hg/store/00manifest.i
  122. BIN bundle/vim-l9/.hg/store/data/.hgtags.i
  123. BIN bundle/vim-l9/.hg/store/data/autoload/l9.vim.i
  124. BIN bundle/vim-l9/.hg/store/data/autoload/l9/async.py.i
  125. BIN bundle/vim-l9/.hg/store/data/autoload/l9/async.vim.i
  126. BIN bundle/vim-l9/.hg/store/data/autoload/l9/quickfix.vim.i
  127. BIN bundle/vim-l9/.hg/store/data/autoload/l9/tempbuffer.vim.i
  128. BIN bundle/vim-l9/.hg/store/data/autoload/l9/tempvariables.vim.i
  129. BIN bundle/vim-l9/.hg/store/data/doc/l9.jax.i
  130. BIN bundle/vim-l9/.hg/store/data/doc/l9.txt.i
  131. BIN bundle/vim-l9/.hg/store/data/plugin/l9.vim.i
  132. +0 −10 bundle/vim-l9/.hg/store/fncache
  133. BIN bundle/vim-l9/.hg/store/undo
  134. +0 −5 bundle/vim-l9/.hg/tags.cache
  135. +0 −1 bundle/vim-l9/.hg/undo.branch
  136. +0 −3 bundle/vim-l9/.hg/undo.desc
  137. 0 bundle/vim-l9/.hg/undo.dirstate
  138. +0 −3 bundle/vim-l9/.hgtags
  139. +0 −570 bundle/vim-l9/autoload/l9.vim
  140. +0 −92 bundle/vim-l9/autoload/l9/async.py
  141. +0 −67 bundle/vim-l9/autoload/l9/async.vim
  142. +0 −107 bundle/vim-l9/autoload/l9/quickfix.vim
  143. +0 −112 bundle/vim-l9/autoload/l9/tempbuffer.vim
  144. +0 −60 bundle/vim-l9/autoload/l9/tempvariables.vim
  145. +0 −55 bundle/vim-l9/doc/l9.jax
  146. +0 −73 bundle/vim-l9/doc/l9.txt
  147. +0 −9 bundle/vim-l9/doc/tags-ja
  148. +0 −108 bundle/vim-l9/plugin/l9.vim
  149. +0 −33 bundle/vim-peepopen/README.md
  150. +0 −44 bundle/vim-peepopen/plugin/peepopen.vim
  151. +32 −120 bundle/vim-rails/autoload/rails.vim
  152. +5 −10 bundle/vim-rails/doc/rails.txt
  153. +3 −4 bundle/vim-ruby/ftplugin/eruby.vim
  154. +38 −23 bundle/vim-ruby/indent/ruby.vim
  155. +3 −4 bundle/vim-ruby/syntax/eruby.vim
  156. +4 −4 bundle/vim-surround/doc/surround.txt
  157. +4 −3 bundle/vim-surround/plugin/surround.vim
  158. +0 −101 bundle/vim-unimpaired/doc/unimpaired.txt
  159. +0 −274 bundle/vim-unimpaired/plugin/unimpaired.vim
  160. +0 −20 bundle/vimclojure/LICENSE.txt
  161. +0 −122 bundle/vimclojure/README.markdown
  162. +0 −139 bundle/vimclojure/build.gradle
  163. +0 −30 bundle/vimclojure/client/Makefile
  164. BIN bundle/vimclojure/client/ng.exe
  165. +0 −640 bundle/vimclojure/client/ngclient/ng.c
  166. +0 −289 bundle/vimclojure/server/src/main/clojure/vimclojure/backend.clj
  167. +0 −32 bundle/vimclojure/server/src/main/clojure/vimclojure/core.clj
  168. +0 −30 bundle/vimclojure/server/src/main/clojure/vimclojure/gencompletions.clj
  169. +0 −299 bundle/vimclojure/server/src/main/clojure/vimclojure/nails.clj
  170. +0 −33 bundle/vimclojure/server/src/main/clojure/vimclojure/optional/clj_stacktrace.clj
  171. +0 −200 bundle/vimclojure/server/src/main/clojure/vimclojure/repl.clj
  172. +0 −432 bundle/vimclojure/server/src/main/clojure/vimclojure/util.clj
  173. +0 −97 bundle/vimclojure/server/src/main/java/org/apache/tools/ant/ExitException.java
  174. +0 −63 bundle/vimclojure/server/src/main/java/vimclojure/Nail.java
  175. +0 −113 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/Alias.java
  176. +0 −132 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/AliasManager.java
  177. +0 −61 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/LongUtils.java
  178. +0 −108 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGConstants.java
  179. +0 −261 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGContext.java
  180. +0 −47 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGExitException.java
  181. +0 −123 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGInputStream.java
  182. +0 −76 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGOutputStream.java
  183. +0 −74 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGSecurityManager.java
  184. +0 −538 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGServer.java
  185. +0 −337 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGSession.java
  186. +0 −122 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NGSessionPool.java
  187. +0 −130 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/NailStats.java
  188. +0 −144 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/ThreadLocalInputStream.java
  189. +0 −261 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/ThreadLocalPrintStream.java
  190. +0 −37 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/builtins/DefaultNail.java
  191. +0 −82 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/builtins/NGAlias.java
  192. +0 −77 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/builtins/NGClasspath.java
  193. +0 −54 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/builtins/NGServerStats.java
  194. +0 −36 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/builtins/NGStop.java
  195. +0 −16 bundle/vimclojure/server/src/main/java/vimclojure/nailgun/builtins/NGVersion.java
  196. +0 −14 bundle/vimclojure/server/src/main/resources/vimclojure/nailgun/builtins/builtins.properties
  197. +0 −3 bundle/vimclojure/server/src/main/resources/vimclojure/nailgun/nailgun-version.properties
  198. +0 −4 bundle/vimclojure/settings.gradle
  199. +0 −984 bundle/vimclojure/vim/autoload/vimclojure.vim
  200. +0 −80 bundle/vimclojure/vim/bin/clj
  201. +0 −55 bundle/vimclojure/vim/bin/clj.bat
  202. +0 −38 bundle/vimclojure/vim/bin/kickoff.sh
  203. +0 −77 bundle/vimclojure/vim/bin/ng-server
  204. +0 −57 bundle/vimclojure/vim/bin/ng-server.bat
  205. +0 −343 bundle/vimclojure/vim/doc/clojure.txt
  206. +0 −1 bundle/vimclojure/vim/ftdetect/clojure.vim
  207. +0 −142 bundle/vimclojure/vim/ftplugin/clojure.vim
  208. +0 −526 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.core.txt
  209. +0 −13 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.inspector.txt
  210. +0 −2 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.java.browse.txt
  211. +0 −19 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.java.io.txt
  212. +0 −8 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.java.javadoc.txt
  213. +0 −4 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.java.shell.txt
  214. +0 −10 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.main.txt
  215. +0 −23 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.pprint.txt
  216. +0 −5 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.repl.txt
  217. +0 −12 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.set.txt
  218. +0 −5 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.stacktrace.txt
  219. +0 −15 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.string.txt
  220. +0 −2 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.template.txt
  221. +0 −18 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.test.junit.txt
  222. +0 −6 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.test.tap.txt
  223. +0 −34 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.test.txt
  224. +0 −10 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.walk.txt
  225. +0 −13 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.xml.txt
  226. +0 −27 bundle/vimclojure/vim/ftplugin/clojure/completions-clojure.zip.txt
  227. +0 −208 bundle/vimclojure/vim/indent/clojure.vim
  228. +0 −57 bundle/vimclojure/vim/plugin/clojure.vim
  229. +0 −300 bundle/vimclojure/vim/syntax/clojure.vim
  230. +0 −191 bundle/vividchalk/colors/vividchalk.vim
  231. +6 −0 global.vim
  232. +1 −3 vimrc
  233. +87 −0 vundle.git/README.md
  234. +19 −0 vundle.git/autoload/vundle.vim
  235. +75 −0 vundle.git/autoload/vundle/config.vim
  236. +66 −0 vundle.git/autoload/vundle/installer.vim
  237. +29 −0 vundle.git/autoload/vundle/scripts.vim
  238. +126 −0 vundle.git/doc/vundle.txt
  239. +1 −0 vundle.git/ftplugin/vim.vim
  240. +37 −0 vundle.git/test
  241. +23 −0 vundle.vim
View
@@ -3,3 +3,4 @@
tags
custom_vimrc
custom_gvimrc
+bundle
View
@@ -1,17 +1,3 @@
-function! CustomClojureSettings()
- set filetype=clojure
-endfunction
-
-function! CustomMarkdownSettings()
- set filetype=mkd
-endfunction
-
-function! CustomJsonSettings()
- set filetype=javascript
-endfunction
-
-augroup SpicyAutoCommands
- autocmd BufEnter,BufWritePost *.clj call CustomClojureSettings()
- autocmd BufEnter *.markdown call CustomMarkdownSettings()
- autocmd BufEnter,BufWritePost *.json call CustomJsonSettings()
-augroup END
+autocmd BufRead,BufNewFile {Gemfile,Rakefile,Capfile,*.rake,config.ru} set ft=ruby
+autocmd BufRead,BufNewFile {*.md,*.mkd,*.markdown} set ft=markdown
+autocmd BufRead,BufNewFile {COMMIT_EDITMSG} set ft=gitcommit
View
@@ -1,132 +0,0 @@
-" 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:
@@ -1 +0,0 @@
-tags
@@ -1,80 +0,0 @@
-# ack.vim #
-
-This plugin is a front for the Perl module
-[App::Ack](http://search.cpan.org/~petdance/ack/ack). Ack can be used as a
-replacement for 99% of the uses of _grep_. This plugin will allow you to run
-ack from vim, and shows the results in a split window.
-
-The *Official Version* of this plugin is available at [vim.org](http://www.vim.org/scripts/script.php?script_id=2572).
-
-## Installation ##
-
-
-### Ack
-
-You have to install [ack](http://search.cpan.org/~petdance/ack/ack), of course.
-
-Install on Debian / Ubuntu with:
-
- sudo apt-get install ack-grep
-
-For Debian / Ubuntu you can add this line into your .vimrc:
-
- let g:ackprg="ack-grep -H --nocolor --nogroup --column"
-
-Install on Gentoo with:
-
- sudo emerge ack
-
-Install with MacPorts:
-
- sudo port install p5-app-ack
-
-Install with Gentoo Prefix
-
- emerge ack
-
-Otherwise, you are on your own.
-
-### The Plugin
-
-If you have [Rake](http://rake.rubyforge.org/) installed, you can just run: `rake install`.
-
-Otherwise, the file ack.vim goes in ~/.vim/plugin, and the ack.txt file belongs in ~/.vim/doc. Be sure to run
-
- :helptags ~/.vim/doc
-
-afterwards.
-
-
-## Usage ##
-
- :Ack [options] {pattern} [{directory}]
-
-Search recursively in {directory} (which defaults to the current directory) for the {pattern}.
-
-Files containing the search term will be listed in the split window, along with
-the line number of the occurrence, once for each occurrence. [Enter] on a line
-in this window will open the file, and place the cursor on the matching line.
-
-Just like where you use :grep, :grepadd, :lgrep, and :lgrepadd, you can use `:Ack`, `:AckAdd`, `:LAck`, and `:LAckAdd` respectively. (See `doc/ack.txt`, or install and `:h Ack` for more information.)
-
-**From the [ack docs](http://search.cpan.org/~petdance/ack/ack)** (my favorite feature):
-
- --type=TYPE, --type=noTYPE
-
- Specify the types of files to include or exclude from a search. TYPE is a filetype, like perl or xml. --type=perl can also be specified as --perl, and --type=noperl can be done as --noperl.
-
- If a file is of both type "foo" and "bar", specifying --foo and --nobar will exclude the file, because an exclusion takes precedence over an inclusion.
-
- Type specifications can be repeated and are ORed together.
-
- See ack --help=types for a list of valid types.
-
-This Vim plugin is derived (and by derived, I mean copied, essentially) from
-Antoine Imbert's blog post [Ack and Vim
-Integration](http://blog.ant0ine.com/2007/03/ack_and_vim_integration.html) (in
-particular, the function at the bottom of the post). I added a help file that
-provides just enough reference to get you going. I also highly recommend you
-check out the docs for the Perl script 'ack', for obvious reasons: [ack -
-grep-like text finder](http://search.cpan.org/~petdance/ack/ack).
@@ -1,23 +0,0 @@
-# Added by Josh Nichols, a.k.a. technicalpickles
-require 'rake'
-
-files = ['doc/ack.txt', 'plugin/ack.vim']
-
-desc 'Install plugin and documentation'
-task :install do
- vimfiles = if ENV['VIMFILES']
- ENV['VIMFILES']
- elsif RUBY_PLATFORM =~ /(win|w)32$/
- File.expand_path("~/vimfiles")
- else
- File.expand_path("~/.vim")
- end
- files.each do |file|
- target_file = File.join(vimfiles, file)
- FileUtils.mkdir_p File.dirname(target_file)
- FileUtils.cp file, target_file
-
- puts " Copied #{file} to #{target_file}"
- end
-
-end
@@ -1,50 +0,0 @@
-*ack.txt* Plugin that integrates ack with Vim
-
-==============================================================================
-Author: Antoine Imbert <antoine.imbert+ackvim@gmail.com> *ack-author*
-License: Same terms as Vim itself (see |license|)
-
-==============================================================================
-INTRODUCTION *ack*
-
-This plugin is a front for the Perl module App::Ack. Ack can be used as a
-replacement for grep. This plugin will allow you to run ack from vim, and
-shows the results in a split window.
-
-:Ack [options] {pattern} [{directory}] *:Ack*
-
- Search recursively in {directory} (which defaults to the current
- directory) for the {pattern}. Behaves just like the |:grep| command, but
- will open the |Quickfix| window for you.
-
-:AckAdd [options] {pattern} [{directory}] *:AckAdd*
-
- Just like |:Ack|, but instead of making a new list, the matches are
- appended to the current |quickfix| list.
-
-:AckFromSearch [{directory}] *:AckFromSearch*
-
- Just like |:Ack| but the pattern is from previous search.
-
-:LAck [options] {pattern} [{directory}] *:LAck*
-
- Just like |:Ack| but instead of the |quickfix| list, matches are placed in
- the current |location-list|.
-
-:LAckAdd [options] {pattern} [{directory}] *:LAckAdd*
-
- Just like |:AckAdd| but instead of the |quickfix| list, matches are added
- to the current |location-list|
-
-:AckFile [options] {pattern} [{directory}] *:AckFile*
-
- Search recursively in {directory} (which defaults to the current
- directory) for filenames matching the {pattern}. Behaves just like the
- |:grep| command, but will open the |Quickfix| window for you.
-
-Files containing the search term will be listed in the split window, along
-with the line number of the occurrence, once for each occurrence. <Enter> on
-a line in this window will open the file, and place the cursor on the matching
-line.
-
-See http://search.cpan.org/~petdance/ack/ack for more information.
@@ -1,61 +0,0 @@
-" NOTE: You must, of course, install the ack script
-" in your path.
-" On Debian / Ubuntu:
-" sudo apt-get install ack-grep
-" On your vimrc:
-" let g:ackprg="ack-grep -H --nocolor --nogroup --column"
-"
-" With MacPorts:
-" sudo port install p5-app-ack
-
-" Location of the ack utility
-if !exists("g:ackprg")
- let g:ackprg="ack -H --nocolor --nogroup --column"
-endif
-
-function! s:Ack(cmd, args)
- redraw
- echo "Searching ..."
-
- " Format, used to manage column jump
- if a:cmd =~# '-g$'
- let g:ackformat="%f"
- else
- let g:ackformat="%f:%l:%c:%m"
- end
-
- let grepprg_bak=&grepprg
- let grepformat_bak=&grepformat
- try
- let &grepprg=g:ackprg
- let &grepformat=g:ackformat
- silent execute a:cmd . " " . a:args
- finally
- let &grepprg=grepprg_bak
- let &grepformat=grepformat_bak
- endtry
-
- if a:cmd =~# '^l'
- botright lopen
- else
- botright copen
- endif
-
- exec "nnoremap <silent> <buffer> q :ccl<CR>"
-
- redraw!
-endfunction
-
-function! s:AckFromSearch(cmd, args)
- let search = getreg('/')
- " translate vim regular expression to perl regular expression.
- let search = substitute(search,'\(\\<\|\\>\)','\\b','g')
- call s:Ack(a:cmd, '"' . search .'" '. a:args)
-endfunction
-
-command! -bang -nargs=* -complete=file Ack call s:Ack('grep<bang>',<q-args>)
-command! -bang -nargs=* -complete=file AckAdd call s:Ack('grepadd<bang>', <q-args>)
-command! -bang -nargs=* -complete=file AckFromSearch call s:AckFromSearch('grep<bang>', <q-args>)
-command! -bang -nargs=* -complete=file LAck call s:Ack('lgrep<bang>', <q-args>)
-command! -bang -nargs=* -complete=file LAckAdd call s:Ack('lgrepadd<bang>', <q-args>)
-command! -bang -nargs=* -complete=file AckFile call s:Ack('grep<bang> -g', <q-args>)
Oops, something went wrong.

0 comments on commit cfa883d

Please sign in to comment.