-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds tomorrow-theme, fugitive, command-t, vim-ruby submodules
- Loading branch information
skim
committed
Apr 5, 2012
1 parent
e852076
commit 79af036
Showing
76 changed files
with
30 additions
and
6,627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/.DS_Store | ||
*.DS_Store | ||
*.sw[op] | ||
.netrwhist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.