Permalink
Browse files

working around submodule craziness

  • Loading branch information...
mikeyk committed Aug 14, 2012
1 parent 0fe0ab3 commit 00dce29910683042d102724339abe5f17ae9ef9c
Showing with 22,892 additions and 18 deletions.
  1. +0 −11 vim/.netrwhist
  2. +0 −1 vim/bundle/ack.vim
  3. +0 −1 vim/bundle/command-t
  4. +0 −1 vim/bundle/nerdcommenter
  5. +0 −1 vim/bundle/pyflakes-pathogen
  6. +0 −1 vim/bundle/snipmate.vim
  7. +0 −1 vim/bundle/vim-fugitive
  8. +0 −1 vim/bundle/vim-yankring
  9. 0 {vim → vimstuff}/.VimballRecord
  10. +10 −0 vimstuff/.netrwhist
  11. 0 {vim → vimstuff}/.netrwhist~
  12. 0 {vim → vimstuff}/.vimrc
  13. 0 {vim → vimstuff}/autoload/pathogen.vim
  14. 0 {vim → vimstuff}/autoload/snipMate.vim
  15. BIN vimstuff/bundle/ack.vim/.README.md.un~
  16. +1 −0 vimstuff/bundle/ack.vim/.gitignore
  17. +96 −0 vimstuff/bundle/ack.vim/README.md
  18. +23 −0 vimstuff/bundle/ack.vim/Rakefile
  19. +70 −0 vimstuff/bundle/ack.vim/doc/ack.txt
  20. +80 −0 vimstuff/bundle/ack.vim/plugin/ack.vim
  21. +3 −0 vimstuff/bundle/command-t/.bundle/config
  22. +2 −0 vimstuff/bundle/command-t/.gitignore
  23. +1 −0 vimstuff/bundle/command-t/.mailmap
  24. +1 −0 vimstuff/bundle/command-t/.rspec
  25. +2 −0 vimstuff/bundle/command-t/.vim_org.yml
  26. +5 −0 vimstuff/bundle/command-t/Gemfile
  27. +26 −0 vimstuff/bundle/command-t/Gemfile.lock
  28. +22 −0 vimstuff/bundle/command-t/LICENSE
  29. +21 −0 vimstuff/bundle/command-t/Makefile
  30. +812 −0 vimstuff/bundle/command-t/README.txt
  31. +216 −0 vimstuff/bundle/command-t/Rakefile
  32. +16 −0 vimstuff/bundle/command-t/bin/autospec
  33. +16 −0 vimstuff/bundle/command-t/bin/htmldiff
  34. +16 −0 vimstuff/bundle/command-t/bin/ldiff
  35. +16 −0 vimstuff/bundle/command-t/bin/nokogiri
  36. +16 −0 vimstuff/bundle/command-t/bin/rake
  37. +16 −0 vimstuff/bundle/command-t/bin/rspec
  38. +37 −0 vimstuff/bundle/command-t/command-t.gemspec
  39. +10 −0 vimstuff/bundle/command-t/compile-test.sh
  40. +1 −0 vimstuff/bundle/command-t/doc/.gitignore
  41. +812 −0 vimstuff/bundle/command-t/doc/command-t.txt
  42. +1 −0 vimstuff/bundle/command-t/fixtures/bar/abc
  43. +1 −0 vimstuff/bundle/command-t/fixtures/bar/xyz
  44. +1 −0 vimstuff/bundle/command-t/fixtures/baz
  45. +1 −0 vimstuff/bundle/command-t/fixtures/bing
  46. +1 −0 vimstuff/bundle/command-t/fixtures/foo/alpha/t1
  47. +1 −0 vimstuff/bundle/command-t/fixtures/foo/alpha/t2
  48. +1 −0 vimstuff/bundle/command-t/fixtures/foo/beta
  49. +25 −0 vimstuff/bundle/command-t/multi-spec.sh
  50. +173 −0 vimstuff/bundle/command-t/plugin/command-t.vim
  51. +6 −0 vimstuff/bundle/command-t/ruby/command-t/.gitignore
  52. +330 −0 vimstuff/bundle/command-t/ruby/command-t/controller.rb
  53. +24 −0 vimstuff/bundle/command-t/ruby/command-t/depend
  54. +65 −0 vimstuff/bundle/command-t/ruby/command-t/ext.c
  55. +36 −0 vimstuff/bundle/command-t/ruby/command-t/ext.h
  56. +32 −0 vimstuff/bundle/command-t/ruby/command-t/extconf.rb
  57. +52 −0 vimstuff/bundle/command-t/ruby/command-t/finder.rb
  58. +35 −0 vimstuff/bundle/command-t/ruby/command-t/finder/buffer_finder.rb
  59. +35 −0 vimstuff/bundle/command-t/ruby/command-t/finder/file_finder.rb
  60. +35 −0 vimstuff/bundle/command-t/ruby/command-t/finder/jump_finder.rb
  61. +189 −0 vimstuff/bundle/command-t/ruby/command-t/match.c
  62. +29 −0 vimstuff/bundle/command-t/ruby/command-t/match.h
  63. +390 −0 vimstuff/bundle/command-t/ruby/command-t/match_window.rb
  64. +164 −0 vimstuff/bundle/command-t/ruby/command-t/matcher.c
  65. +30 −0 vimstuff/bundle/command-t/ruby/command-t/matcher.h
  66. +165 −0 vimstuff/bundle/command-t/ruby/command-t/prompt.rb
  67. +49 −0 vimstuff/bundle/command-t/ruby/command-t/ruby_compat.h
  68. +28 −0 vimstuff/bundle/command-t/ruby/command-t/scanner.rb
  69. +42 −0 vimstuff/bundle/command-t/ruby/command-t/scanner/buffer_scanner.rb
  70. +101 −0 vimstuff/bundle/command-t/ruby/command-t/scanner/file_scanner.rb
  71. +53 −0 vimstuff/bundle/command-t/ruby/command-t/scanner/jump_scanner.rb
  72. +77 −0 vimstuff/bundle/command-t/ruby/command-t/settings.rb
  73. +42 −0 vimstuff/bundle/command-t/ruby/command-t/stub.rb
  74. +51 −0 vimstuff/bundle/command-t/ruby/command-t/vim.rb
  75. +40 −0 vimstuff/bundle/command-t/ruby/command-t/vim/path_utilities.rb
  76. +32 −0 vimstuff/bundle/command-t/ruby/command-t/vim/screen.rb
  77. +38 −0 vimstuff/bundle/command-t/ruby/command-t/vim/window.rb
  78. +102 −0 vimstuff/bundle/command-t/spec/command-t/controller_spec.rb
  79. +78 −0 vimstuff/bundle/command-t/spec/command-t/finder/buffer_finder_spec.rb
  80. +80 −0 vimstuff/bundle/command-t/spec/command-t/finder/file_finder_spec.rb
  81. +236 −0 vimstuff/bundle/command-t/spec/command-t/match_spec.rb
  82. +78 −0 vimstuff/bundle/command-t/spec/command-t/matcher_spec.rb
  83. +54 −0 vimstuff/bundle/command-t/spec/command-t/scanner/buffer_scanner_spec.rb
  84. +83 −0 vimstuff/bundle/command-t/spec/command-t/scanner/file_scanner_spec.rb
  85. +38 −0 vimstuff/bundle/command-t/spec/spec_helper.rb
  86. +41 −0 vimstuff/bundle/command-t/spec/vim_formatter.rb
  87. +3 −0 vimstuff/bundle/nerdcommenter/.gitignore
  88. +76 −0 vimstuff/bundle/nerdcommenter/Rakefile
  89. +1,007 −0 vimstuff/bundle/nerdcommenter/doc/NERD_commenter.txt
  90. +2,819 −0 vimstuff/bundle/nerdcommenter/plugin/NERD_commenter.vim
  91. +1 −0 vimstuff/bundle/pyflakes-pathogen/.gitignore
  92. +11 −0 vimstuff/bundle/pyflakes-pathogen/README.rst
  93. +80 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/README.rst
  94. +320 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes.vim
  95. +21 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/LICENSE
  96. +29 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/NEWS.txt
  97. +36 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/README.rst
  98. +11 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/TODO
  99. +2 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/__init__.py
  100. +311 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/ast.py
  101. +625 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/checker.py
  102. +96 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/messages.py
  103. 0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/scripts/__init__.py
  104. +90 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/scripts/pyflakes.py
  105. 0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/test/__init__.py
  106. +27 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/test/harness.py
  107. +673 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/test/test_imports.py
  108. +575 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/test/test_other.py
  109. +185 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/test/test_script.py
  110. +265 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/pyflakes/test/test_undefined_names.py
  111. +28 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/pyflakes/setup.py
  112. +124 −0 vimstuff/bundle/pyflakes-pathogen/ftplugin/python/quickfix.diff
  113. +5 −0 vimstuff/bundle/snipmate.vim/README.markdown
  114. +40 −0 vimstuff/bundle/snipmate.vim/after/plugin/snipMate.vim
  115. +435 −0 vimstuff/bundle/snipmate.vim/autoload/snipMate.vim
  116. +322 −0 vimstuff/bundle/snipmate.vim/doc/snipMate.txt
  117. +10 −0 vimstuff/bundle/snipmate.vim/ftplugin/html_snip_helper.vim
  118. +8 −0 vimstuff/bundle/snipmate.vim/plugin-info.txt
  119. +271 −0 vimstuff/bundle/snipmate.vim/plugin/snipMate.vim
  120. +9 −0 vimstuff/bundle/snipmate.vim/snippets/_.snippets
  121. +66 −0 vimstuff/bundle/snipmate.vim/snippets/autoit.snippets
  122. +113 −0 vimstuff/bundle/snipmate.vim/snippets/c.snippets
  123. +34 −0 vimstuff/bundle/snipmate.vim/snippets/cpp.snippets
  124. +39 −0 vimstuff/bundle/snipmate.vim/snippets/erlang.snippets
  125. +190 −0 vimstuff/bundle/snipmate.vim/snippets/html.snippets
  126. +95 −0 vimstuff/bundle/snipmate.vim/snippets/java.snippets
  127. +74 −0 vimstuff/bundle/snipmate.vim/snippets/javascript.snippets
  128. +54 −0 vimstuff/bundle/snipmate.vim/snippets/mako.snippets
  129. +247 −0 vimstuff/bundle/snipmate.vim/snippets/objc.snippets
  130. +97 −0 vimstuff/bundle/snipmate.vim/snippets/perl.snippets
  131. +216 −0 vimstuff/bundle/snipmate.vim/snippets/php.snippets
  132. +102 −0 vimstuff/bundle/snipmate.vim/snippets/python.snippets
  133. +504 −0 vimstuff/bundle/snipmate.vim/snippets/ruby.snippets
  134. +28 −0 vimstuff/bundle/snipmate.vim/snippets/sh.snippets
  135. +7 −0 vimstuff/bundle/snipmate.vim/snippets/snippet.snippets
  136. +92 −0 vimstuff/bundle/snipmate.vim/snippets/tcl.snippets
  137. +115 −0 vimstuff/bundle/snipmate.vim/snippets/tex.snippets
  138. +32 −0 vimstuff/bundle/snipmate.vim/snippets/vim.snippets
  139. +58 −0 vimstuff/bundle/snipmate.vim/snippets/zsh.snippets
  140. +19 −0 vimstuff/bundle/snipmate.vim/syntax/snippet.vim
  141. +1 −0 vimstuff/bundle/vim-fugitive/.gitignore
  142. +149 −0 vimstuff/bundle/vim-fugitive/README.markdown
  143. +271 −0 vimstuff/bundle/vim-fugitive/doc/fugitive.txt
  144. +2,295 −0 vimstuff/bundle/vim-fugitive/plugin/fugitive.vim
  145. +1 −0 vimstuff/bundle/vim-yankring/.gitignore
  146. +1,467 −0 vimstuff/bundle/vim-yankring/doc/yankring.txt
  147. +2,499 −0 vimstuff/bundle/vim-yankring/plugin/yankring.vim
  148. 0 {vim → vimstuff}/colors/ir_black.vim
  149. 0 {vim → vimstuff}/colors/molokai.vim
  150. 0 {vim → vimstuff}/colors/solarized.vim
  151. 0 {vim → vimstuff}/colors/vividchalk.vim
  152. 0 {vim → vimstuff}/doc/tags
  153. 0 {vim → vimstuff}/filetype.vim
  154. 0 {vim → vimstuff}/indent/python.vim
  155. 0 {vim → vimstuff}/syntax/mkd.vim
  156. 0 {vim → vimstuff}/syntax/nginx.vim
  157. 0 {vim → vimstuff}/syntax/plpgsql.vim
  158. 0 {vim → vimstuff}/syntax/python.vim
View
@@ -1,11 +0,0 @@
-let g:netrw_dirhistmax =10
-let g:netrw_dirhist_cnt =9
-let g:netrw_dirhist_1='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio/recipes'
-let g:netrw_dirhist_2='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio'
-let g:netrw_dirhist_3='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio/templates'
-let g:netrw_dirhist_4='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio'
-let g:netrw_dirhist_5='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio/resources'
-let g:netrw_dirhist_6='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio/providers'
-let g:netrw_dirhist_7='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio'
-let g:netrw_dirhist_8='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio/templates'
-let g:netrw_dirhist_9='/Users/mkrieger/src/instagram-kitchen/cookbooks/redisio/templates/default'
Submodule ack.vim deleted from 989528
Submodule command-t deleted from e9a861
Submodule nerdcommenter deleted from e77782
Submodule pyflakes-pathogen deleted from ca28f1
Submodule snipmate.vim deleted from f5a75d
Submodule vim-fugitive deleted from b4b75e
Submodule vim-yankring deleted from 37f57f
File renamed without changes.
View
@@ -0,0 +1,10 @@
+let g:netrw_dirhistmax =10
+let g:netrw_dirhist_cnt =8
+let g:netrw_dirhist_1='/Users/mkrieger/src/dotfiles'
+let g:netrw_dirhist_2='/Users/mkrieger/src/dotfiles/.git'
+let g:netrw_dirhist_3='/Users/mkrieger/src/dotfiles'
+let g:netrw_dirhist_4='/Users/mkrieger/src/dotfiles/vim/bundle/ack.vim'
+let g:netrw_dirhist_5='/Users/mkrieger/src/dotfiles/vim/bundle/ack.vim/plugin'
+let g:netrw_dirhist_6='/Users/mkrieger/src/dotfiles/vim/bundle/ack.vim'
+let g:netrw_dirhist_7='/Users/mkrieger/src/dotfiles/vim/bundle'
+let g:netrw_dirhist_8='/Users/mkrieger/src/dotfiles/vim'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
@@ -0,0 +1 @@
+tags
@@ -0,0 +1,96 @@
+# 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://betterthangrep.com/), 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 Homebrew:
+
+ brew install 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://betterthangrep.com/)** (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.
+
+### Keyboard Shortcuts ###
+
+In the quickfix window, you can use:
+
+ o to open (same as enter)
+ go to preview file (open but maintain focus on ack.vim results)
+ t to open in new tab
+ T to open in new tab silently
+ v to open in vertical split
+ gv to open in vertical split silently
+ q to close the quickfix window
+
+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/typepad/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://betterthangrep.com/).
@@ -0,0 +1,23 @@
+# 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
@@ -0,0 +1,70 @@
+*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. If [!] is not given the first
+ error is jumped to.
+
+: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://betterthangrep.com/ for more information.
+
+==============================================================================
+MAPPINGS *ack-mappings*
+
+The following keyboard shortcuts are available in the quickfix window:
+
+o open file (same as enter).
+
+go preview file (open but maintain focus on ack.vim results).
+
+t open in a new tab.
+
+T open in new tab silently.
+
+v open in vertical split.
+
+gv open in vertical split silently.
+
+q close the quickfix window.
@@ -0,0 +1,80 @@
+" 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 ..."
+
+ " If no pattern is provided, search for the word under the cursor
+ if empty(a:args)
+ let l:grepargs = expand("<cword>")
+ else
+ let l:grepargs = a:args
+ end
+
+ " 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 . " " . l:grepargs
+ 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>"
+ exec "nnoremap <silent> <buffer> t <C-W><CR><C-W>T"
+ exec "nnoremap <silent> <buffer> T <C-W><CR><C-W>TgT<C-W><C-W>"
+ exec "nnoremap <silent> <buffer> o <CR>"
+ exec "nnoremap <silent> <buffer> go <CR><C-W><C-W>"
+ exec "nnoremap <silent> <buffer> v <C-W><C-W><C-W>v<C-L><C-W><C-J><CR>"
+ exec "nnoremap <silent> <buffer> gv <C-W><C-W><C-W>v<C-L><C-W><C-J><CR><C-W><C-J>"
+
+ " If highlighting is on, highlight the search keyword.
+ if exists("g:ackhighlight")
+ let @/=a:args
+ set hlsearch
+ end
+
+ 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>)
@@ -0,0 +1,3 @@
+---
+BUNDLE_BIN: bin
+BUNDLE_DISABLE_SHARED_GEMS: "1"
@@ -0,0 +1,2 @@
+.release-notes.txt
+command-t.recipe
@@ -0,0 +1 @@
+Sung Pae <sung@metablu.com>
@@ -0,0 +1 @@
+--colour
@@ -0,0 +1,2 @@
+--- {}
+
@@ -0,0 +1,5 @@
+source :rubygems
+gem 'mechanize'
+gem 'rake'
+gem 'rr'
+gem 'rspec', '>= 2.0.0.rc'
@@ -0,0 +1,26 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ mechanize (1.0.0)
+ nokogiri (>= 1.2.1)
+ nokogiri (1.4.4)
+ rake (0.8.7)
+ rr (1.0.2)
+ rspec (2.5.0)
+ rspec-core (~> 2.5.0)
+ rspec-expectations (~> 2.5.0)
+ rspec-mocks (~> 2.5.0)
+ rspec-core (2.5.1)
+ rspec-expectations (2.5.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.5.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ mechanize
+ rake
+ rr
+ rspec (>= 2.0.0.rc)
@@ -0,0 +1,22 @@
+Copyright 2010-2011 Wincent Colaiuta. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
Oops, something went wrong.

0 comments on commit 00dce29

Please sign in to comment.