Skip to content

Commit

Permalink
adds tomorrow-theme, fugitive, command-t, vim-ruby submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
skim committed Apr 5, 2012
1 parent e852076 commit 79af036
Show file tree
Hide file tree
Showing 76 changed files with 30 additions and 6,627 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/.DS_Store
*.DS_Store
*.sw[op]
.netrwhist
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "vim/colors"]
path = vim/colors
url = https://github.com/chriskempson/vim-tomorrow-theme.git
[submodule "vim/bundle/vim-fugitive"]
path = vim/bundle/vim-fugitive
url = https://github.com/tpope/vim-fugitive.git
[submodule "vim/bundle/command-t"]
path = vim/bundle/command-t
url = https://github.com/wincent/Command-T.git
[submodule "vim/bundle/vim-ruby"]
path = vim/bundle/vim-ruby
url = https://github.com/vim-ruby/vim-ruby.git
17 changes: 13 additions & 4 deletions activate.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
#!/usr/bin/env ruby

require 'fileutils'

working_dir = File.expand_path(File.dirname(__FILE__))
home_dir = File.expand_path("~")
dot_files = Dir.glob(File.join(working_dir,"*"))
dot_files = [File.join(working_dir, "vim"), File.join(working_dir, "vimrc")]

dot_files.each do |filename|
next if filename =~ /activate\.rb$/
sym_link = File.join(home_dir, ".#{File.basename(filename)}")

FileUtils.rm sym_link if File.symlink?(sym_link) || File.exist?(sym_link)
FileUtils.ln_s filename, sym_link
end

color_dir = File.join(working_dir, "vim", "colors")
color_files = Dir.glob(File.join(color_dir, "colors", "*"))

sym_link = File.join(home_dir,".#{File.basename(filename)}")
color_files.each do |filename|
sym_link = File.join(color_dir, File.basename(filename))

FileUtils.rm sym_link if File.symlink?(sym_link) || File.exist?(sym_link)
FileUtils.ln_s filename,sym_link
FileUtils.ln_s filename, sym_link
end
1 change: 1 addition & 0 deletions vim/bundle/command-t
Submodule command-t added at bbdcfb
3 changes: 0 additions & 3 deletions vim/bundle/command-t/.bundle/config

This file was deleted.

2 changes: 0 additions & 2 deletions vim/bundle/command-t/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions vim/bundle/command-t/.gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion vim/bundle/command-t/.mailmap

This file was deleted.

1 change: 0 additions & 1 deletion vim/bundle/command-t/.rspec

This file was deleted.

2 changes: 0 additions & 2 deletions vim/bundle/command-t/.vim_org.yml

This file was deleted.

5 changes: 0 additions & 5 deletions vim/bundle/command-t/Gemfile

This file was deleted.

26 changes: 0 additions & 26 deletions vim/bundle/command-t/Gemfile.lock

This file was deleted.

22 changes: 0 additions & 22 deletions vim/bundle/command-t/LICENSE

This file was deleted.

21 changes: 0 additions & 21 deletions vim/bundle/command-t/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion vim/bundle/command-t/README.txt

This file was deleted.

219 changes: 0 additions & 219 deletions vim/bundle/command-t/Rakefile

This file was deleted.

16 changes: 0 additions & 16 deletions vim/bundle/command-t/bin/autospec

This file was deleted.

Loading

0 comments on commit 79af036

Please sign in to comment.