forked from nicalpi/vim-dotfile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f258cff
Showing
286 changed files
with
31,969 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tags | ||
*~ | ||
*.swp | ||
.VimballRecord |
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,105 @@ | ||
[submodule "bundle/ack.vim"] | ||
path = bundle/ack.vim | ||
url = https://github.com/mileszs/ack.vim.git | ||
[submodule "bundle/cheat.vim"] | ||
path = bundle/cheat.vim | ||
url = https://github.com/vim-scripts/cheat.vim.git | ||
[submodule "bundle/eco.vim"] | ||
path = bundle/eco.vim | ||
url = https://github.com/jayferd/eco.vim.git | ||
[submodule "bundle/mustache.vim"] | ||
path = bundle/mustache.vim | ||
url = https://github.com/juvenn/mustache.vim.git | ||
[submodule "bundle/gist-vim"] | ||
path = bundle/gist-vim | ||
url = https://github.com/mattn/gist-vim.git | ||
[submodule "bundle/nerdtree"] | ||
path = bundle/nerdtree | ||
url = https://github.com/scrooloose/nerdtree.git | ||
[submodule "bundle/ruby-matchit"] | ||
path = bundle/ruby-matchit | ||
url = https://github.com/vim-scripts/ruby-matchit.git | ||
[submodule "bundle/supertab"] | ||
path = bundle/supertab | ||
url = https://github.com/ervandew/supertab.git | ||
[submodule "bundle/syntastic"] | ||
path = bundle/syntastic | ||
url = https://github.com/scrooloose/syntastic.git | ||
[submodule "bundle/tabular"] | ||
path = bundle/tabular | ||
url = https://github.com/godlygeek/tabular.git | ||
[submodule "bundle/taglist"] | ||
path = bundle/taglist | ||
url = https://github.com/vim-scripts/taglist.vim.git | ||
[submodule "bundle/tcomment"] | ||
path = bundle/tcomment | ||
url = https://github.com/tomtom/tcomment_vim.git | ||
[submodule "bundle/tlib"] | ||
path = bundle/tlib | ||
url = https://github.com/tomtom/tlib_vim.git | ||
[submodule "bundle/vim-autoclose"] | ||
path = bundle/vim-autoclose | ||
url = https://github.com/Townk/vim-autoclose.git | ||
[submodule "bundle/vim-bufexplorer"] | ||
path = bundle/vim-bufexplorer | ||
url = https://github.com/onehouse/vim-bufexplorer.git | ||
[submodule "bundle/vim-cofee-script"] | ||
path = bundle/vim-cofee-script | ||
url = https://github.com/kchmck/vim-coffee-script.git | ||
[submodule "bundle/vim-cucumber"] | ||
path = bundle/vim-cucumber | ||
url = https://github.com/tpope/vim-cucumber.git | ||
[submodule "bundle/vim-addon-mw-utils"] | ||
path = bundle/vim-addon-mw-utils | ||
url = https://github.com/MarcWeber/vim-addon-mw-utils.git | ||
[submodule "bundle/vim-endwise"] | ||
path = bundle/vim-endwise | ||
url = https://github.com/tpope/vim-endwise.git | ||
[submodule "bundle/vim-fugitive"] | ||
path = bundle/vim-fugitive | ||
url = https://github.com/tpope/vim-fugitive.git | ||
[submodule "bundle/vim-haml"] | ||
path = bundle/vim-haml | ||
url = https://github.com/tpope/vim-haml.git | ||
[submodule "bundle/vim-indexed-search"] | ||
path = bundle/vim-indexed-search | ||
url = https://github.com/henrik/vim-indexed-search.git | ||
[submodule "bundle/vim-markdown"] | ||
path = bundle/vim-markdown | ||
url = https://github.com/tpope/vim-markdown.git | ||
[submodule "bundle/vim-matchit"] | ||
path = bundle/vim-matchit | ||
url = https://github.com/edsono/vim-matchit.git | ||
[submodule "bundle/vim-powerline"] | ||
path = bundle/vim-powerline | ||
url = https://github.com/Lokaltog/vim-powerline.git | ||
[submodule "bundle/vim-rails"] | ||
path = bundle/vim-rails | ||
url = https://github.com/tpope/vim-rails.git | ||
[submodule "bundle/vim-repeat"] | ||
path = bundle/vim-repeat | ||
url = https://github.com/tpope/vim-repeat.git | ||
[submodule "bundle/vim-rspec"] | ||
path = bundle/vim-rspec | ||
url = https://github.com/skwp/vim-rspec.git | ||
[submodule "bundle/vim-ruby"] | ||
path = bundle/vim-ruby | ||
url = https://github.com/vim-ruby/vim-ruby.git | ||
[submodule "bundle/vim-rvm"] | ||
path = bundle/vim-rvm | ||
url = https://github.com/tpope/vim-rvm.git | ||
[submodule "bundle/vim-snipmate"] | ||
path = bundle/vim-snipmate | ||
url = https://github.com/garbas/vim-snipmate.git | ||
[submodule "bundle/snipmate-snippets"] | ||
path = bundle/snipmate-snippets | ||
url = https://github.com/honza/snipmate-snippets.git | ||
[submodule "bundle/vim-surround"] | ||
path = bundle/vim-surround | ||
url = https://github.com/tpope/vim-surround.git | ||
[submodule "bundle/vim-unimpaired"] | ||
path = bundle/vim-unimpaired | ||
url = https://github.com/tpope/vim-unimpaired.git | ||
[submodule "bundle/YankRing.vim"] | ||
path = bundle/YankRing.vim | ||
url = https://github.com/vim-scripts/YankRing.vim.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
let g:netrw_dirhistmax =10 | ||
let g:netrw_dirhist_cnt =0 |
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 @@ | ||
.vim/ |
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,19 @@ | ||
h1. Usage | ||
|
||
* Clone this repo into your home directory either as .vim (linux) or vimfiles (MF | ||
Windows). | ||
|
||
* Create a symbolic link to your .vimrc | ||
|
||
<pre> | ||
<code> | ||
ln -s ./vim/vimrc ~/.vimrc | ||
</code> | ||
</pre> | ||
|
||
|
||
h1. Please note | ||
|
||
I use pathogen in order to bundle plugins in the bundle bunble project, configured for a Debian base distribution. I have no ideas on issues with others distributions or Mac users. | ||
|
||
Please refer to <a href='http://www.vim.org/scripts/script.php?script_id=2332'>pathogen install details</a> for more informations. |
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,75 @@ | ||
# written by travis jeffery <[email protected]> | ||
# contributions by scrooloose <github:scrooloose> | ||
|
||
require 'rake' | ||
require 'find' | ||
require 'pathname' | ||
|
||
IGNORE = [/\.gitignore$/, /Rakefile$/] | ||
|
||
files = `git ls-files`.split("\n") | ||
files.reject! { |f| IGNORE.any? { |re| f.match(re) } } | ||
|
||
desc 'Zip up the project files' | ||
task :zip do | ||
zip_name = File.basename(File.dirname(__FILE__)) | ||
zip_name.gsub!(/ /, '_') | ||
zip_name = "#{zip_name}.zip" | ||
|
||
if File.exist?(zip_name) | ||
abort("Zip file #{zip_name} already exists. Remove it first.") | ||
end | ||
|
||
puts "Creating zip file: #{zip_name}" | ||
system("zip #{zip_name} #{files.join(" ")}") | ||
end | ||
|
||
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 "Installed #{file} to #{target_file}" | ||
end | ||
|
||
end | ||
|
||
desc 'Pulls from origin' | ||
task :pull do | ||
puts "Updating local repo..." | ||
system("cd " << Dir.new(File.dirname(__FILE__)).path << " && git pull") | ||
end | ||
|
||
desc 'Calls pull task and then install task' | ||
task :update => ['pull', 'install'] do | ||
puts "Update of vim script complete." | ||
end | ||
|
||
desc 'Uninstall plugin and documentation' | ||
task :uninstall 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.rm target_file | ||
|
||
puts "Uninstalled #{target_file}" | ||
end | ||
|
||
end | ||
|
||
task :default => ['update'] |
Oops, something went wrong.