Permalink
Browse files

Janus: Organise the folders.

  • Loading branch information...
1 parent d1516fa commit cf96aac62ff0f51618d6c9cb6a014b087224b2aa @kalbasit kalbasit committed Nov 8, 2011
Showing with 106 additions and 98 deletions.
  1. +88 −81 .gitmodules
  2. +2 −2 Rakefile
  3. +0 −6 janus-core/tasks/pathogen.rake
  4. 0 {janus-colors → janus/colors}/sampler-pack
  5. 0 {janus-colors → janus/colors}/solarized
  6. 0 {janus-core/janus → janus/core/janus/before}/plugin/janus.vim
  7. 0 {janus-core/janus → janus/core/janus/before}/plugin/plugins.vim
  8. 0 {janus-core → janus/core}/pathogen
  9. +6 −0 janus/core/tasks/pathogen.rake
  10. 0 { → janus}/gvimrc
  11. 0 {janus-langs → janus/langs}/coffeescript
  12. 0 {janus-langs → janus/langs}/cucumber
  13. 0 {janus-langs → janus/langs}/git
  14. 0 {janus-langs → janus/langs}/haml
  15. 0 {janus-langs → janus/langs}/handlebars
  16. 0 {janus-langs → janus/langs}/javascript
  17. 0 {janus-langs → janus/langs}/markdown
  18. 0 {janus-langs → janus/langs}/puppet
  19. 0 {janus-langs → janus/langs}/rails
  20. 0 {janus-langs → janus/langs}/rspec
  21. 0 {janus-langs → janus/langs}/scala
  22. 0 {janus-langs → janus/langs}/scss
  23. 0 {janus-langs → janus/langs}/textile
  24. 0 { → janus}/lib/janus.rb
  25. 0 { → janus}/lib/janus/errors.rb
  26. 0 { → janus}/lib/janus/gems.rb
  27. 0 { → janus}/lib/janus/git.rb
  28. +1 −1 { → janus}/lib/janus/plugins.rb
  29. 0 { → janus}/lib/janus/vim.rb
  30. 0 { → janus}/lib/vim/janus.vim
  31. 0 {janus-tools → janus/tools}/ack
  32. 0 {janus-tools → janus/tools}/command-t
  33. 0 {janus-tools → janus/tools}/fugitive
  34. 0 {janus-tools → janus/tools}/gundo
  35. 0 {janus-tools → janus/tools}/hammer
  36. 0 {janus-core → janus/tools}/janus/after/plugin/NERD_commenter.vim
  37. 0 {janus-tools → janus/tools}/janus/after/plugin/ack.vim
  38. 0 {janus-tools → janus/tools}/janus/after/plugin/nerdtree.vim
  39. 0 {janus-tools → janus/tools}/janus/after/plugin/tagbar.vim
  40. 0 {janus-core → janus/tools}/janus/after/plugin/unimpaired.vim
  41. 0 {janus-tools → janus/tools}/janus/after/plugin/zoomwin.vim
  42. 0 {janus-tools → janus/tools}/janus/plugin/command-t.vim
  43. 0 {janus-tools → janus/tools}/janus/plugin/fugitive.vim
  44. 0 {janus-tools → janus/tools}/janus/plugin/gundo.vim
  45. 0 {janus-tools → janus/tools}/janus/plugin/hammer.vim
  46. 0 {janus-tools → janus/tools}/janus/plugin/syntastic.vim
  47. 0 {janus-tools → janus/tools}/matchit
  48. 0 {janus-core → janus/tools}/nerdcommenter
  49. 0 {janus-tools → janus/tools}/nerdtree
  50. 0 {janus-tools → janus/tools}/pep8
  51. 0 {janus-tools → janus/tools}/snipmate
  52. 0 {janus-tools → janus/tools}/snipmate-snippets
  53. 0 {janus-tools → janus/tools}/supertab
  54. 0 {janus-core → janus/tools}/surround
  55. 0 {janus-tools → janus/tools}/syntastic
  56. 0 {janus-tools → janus/tools}/tagbar
  57. +2 −2 {janus-tools → janus/tools}/tasks/command-t.rake
  58. +1 −1 {janus-tools → janus/tools}/tasks/hammer.rake
  59. 0 {janus-tools → janus/tools}/tlib
  60. 0 {janus-core → janus/tools}/unimpaired
  61. 0 {janus-tools → janus/tools}/vim-addon-mw-utils
  62. 0 {janus-tools → janus/tools}/zoomwin
  63. +6 −5 { → janus}/vimrc
View
@@ -1,105 +1,112 @@
-[submodule "janus-core/unimpaired"]
- path = janus-core/unimpaired
- url = https://github.com/tpope/vim-unimpaired.git
-[submodule "janus-core/nerdcommenter"]
- path = janus-core/nerdcommenter
- url = https://github.com/scrooloose/nerdcommenter.git
-[submodule "janus-langs/haml"]
- path = janus-langs/haml
+# Core
+[submodule "janus/core/pathogen"]
+ path = janus/core/pathogen
+ url = git://github.com/tpope/vim-pathogen.git
+
+# Colors
+[submodule "janus/colors/sampler-pack"]
+ path = janus/colors/sampler-pack
+ url = https://github.com/vim-scripts/Color-Sampler-Pack.git
+[submodule "janus/colors/solarized"]
+ path = janus/colors/solarized
+ url = git://github.com/altercation/vim-colors-solarized.git
+
+# Langs
+[submodule "janus/langs/haml"]
+ path = janus/langs/haml
url = https://github.com/tpope/vim-haml.git
-[submodule "janus-langs/javascript"]
- path = janus-langs/javascript
+[submodule "janus/langs/javascript"]
+ path = janus/langs/javascript
url = https://github.com/pangloss/vim-javascript.git
-[submodule "janus-langs/cucumber"]
- path = janus-langs/cucumber
+[submodule "janus/langs/cucumber"]
+ path = janus/langs/cucumber
url = https://github.com/tpope/vim-cucumber.git
-[submodule "janus-langs/markdown"]
- path = janus-langs/markdown
+[submodule "janus/langs/markdown"]
+ path = janus/langs/markdown
url = https://github.com/tpope/vim-markdown.git
-[submodule "janus-langs/puppet"]
- path = janus-langs/puppet
+[submodule "janus/langs/puppet"]
+ path = janus/langs/puppet
url = https://github.com/ajf/puppet-vim.git
-[submodule "janus-langs/scala"]
- path = janus-langs/scala
+[submodule "janus/langs/scala"]
+ path = janus/langs/scala
url = https://github.com/bdd/vim-scala.git
-[submodule "janus-langs/handlebars"]
- path = janus-langs/handlebars
+[submodule "janus/langs/handlebars"]
+ path = janus/langs/handlebars
url = https://github.com/nono/vim-handlebars.git
-[submodule "janus-tools/matchit"]
- path = janus-tools/matchit
+[submodule "janus/langs/coffeescript"]
+ path = janus/langs/coffeescript
+ url = https://github.com/kchmck/vim-coffee-script.git
+[submodule "janus/langs/rails"]
+ path = janus/langs/rails
+ url = git://github.com/tpope/vim-rails.git
+[submodule "janus/langs/git"]
+ path = janus/langs/git
+ url = git://github.com/tpope/vim-git.git
+[submodule "janus/langs/textile"]
+ path = janus/langs/textile
+ url = git://github.com/timcharper/textile.vim.git
+[submodule "janus/langs/rspec"]
+ path = janus/langs/rspec
+ url = git://github.com/taq/vim-rspec.git
+[submodule "janus/langs/scss"]
+ path = janus/langs/scss
+ url = git://github.com/cakebaker/scss-syntax.vim.git
+
+# Tools
+[submodule "janus/tools/unimpaired"]
+ path = janus/tools/unimpaired
+ url = https://github.com/tpope/vim-unimpaired.git
+[submodule "janus/tools/nerdcommenter"]
+ path = janus/tools/nerdcommenter
+ url = https://github.com/scrooloose/nerdcommenter.git
+[submodule "janus/tools/matchit"]
+ path = janus/tools/matchit
url = https://github.com/edsono/vim-matchit.git
-[submodule "janus-tools/supertab"]
- path = janus-tools/supertab
+[submodule "janus/tools/supertab"]
+ path = janus/tools/supertab
url = https://github.com/ervandew/supertab.git
-[submodule "janus-colors/sampler-pack"]
- path = janus-colors/sampler-pack
- url = https://github.com/vim-scripts/Color-Sampler-Pack.git
-[submodule "janus-tools/zoomwin"]
- path = janus-tools/zoomwin
+[submodule "janus/tools/zoomwin"]
+ path = janus/tools/zoomwin
url = git://github.com/vim-scripts/ZoomWin.git
-[submodule "janus-langs/coffeescript"]
- path = janus-langs/coffeescript
- url = https://github.com/kchmck/vim-coffee-script.git
-[submodule "janus-tools/ack"]
- path = janus-tools/ack
+[submodule "janus/tools/ack"]
+ path = janus/tools/ack
url = git://github.com/mileszs/ack.vim.git
-[submodule "janus-tools/fugitive"]
- path = janus-tools/fugitive
+[submodule "janus/tools/fugitive"]
+ path = janus/tools/fugitive
url = git://github.com/tpope/vim-fugitive.git
-[submodule "janus-langs/git"]
- path = janus-langs/git
- url = git://github.com/tpope/vim-git.git
-[submodule "janus-tools/gundo"]
- path = janus-tools/gundo
+[submodule "janus/tools/gundo"]
+ path = janus/tools/gundo
url = git://github.com/sjl/gundo.vim.git
-[submodule "janus-langs/rails"]
- path = janus-langs/rails
- url = git://github.com/tpope/vim-rails.git
-[submodule "janus-langs/textile"]
- path = janus-langs/textile
- url = git://github.com/timcharper/textile.vim.git
-[submodule "janus-langs/rspec"]
- path = janus-langs/rspec
- url = git://github.com/taq/vim-rspec.git
-[submodule "janus-colors/solarized"]
- path = janus-colors/solarized
- url = git://github.com/altercation/vim-colors-solarized.git
-[submodule "janus-core/surround"]
- path = janus-core/surround
+[submodule "janus/tools/surround"]
+ path = janus/tools/surround
url = git://github.com/tpope/vim-surround.git
-[submodule "janus-tools/hammer"]
- path = janus-tools/hammer
+[submodule "janus/tools/hammer"]
+ path = janus/tools/hammer
url = git://github.com/robgleeson/hammer.vim.git
-[submodule "janus-tools/command-t"]
- path = janus-tools/command-t
+[submodule "janus/tools/command-t"]
+ path = janus/tools/command-t
url = git@github.com:wycats/Command-T.git
-[submodule "janus-core/pathogen"]
- path = janus-core/pathogen
- url = git://github.com/tpope/vim-pathogen.git
-[submodule "janus-tools/snipmate"]
- path = janus-tools/snipmate
+[submodule "janus/tools/snipmate"]
+ path = janus/tools/snipmate
url = git://github.com/garbas/vim-snipmate.git
-[submodule "janus-tools/tlib"]
- path = janus-tools/tlib
+[submodule "janus/tools/tlib"]
+ path = janus/tools/tlib
url = git://github.com/tomtom/tlib_vim.git
-[submodule "janus-tools/vim-addon-mw-utils"]
- path = janus-tools/vim-addon-mw-utils
+[submodule "janus/tools/vim-addon-mw-utils"]
+ path = janus/tools/vim-addon-mw-utils
url = git://github.com/MarcWeber/vim-addon-mw-utils.git
-[submodule "janus-tools/snipmate-snippets"]
- path = janus-tools/snipmate-snippets
+[submodule "janus/tools/snipmate-snippets"]
+ path = janus/tools/snipmate-snippets
url = git://github.com/honza/snipmate-snippets.git
-[submodule "janus-tools/syntastic"]
- path = janus-tools/syntastic
+[submodule "janus/tools/syntastic"]
+ path = janus/tools/syntastic
url = git://github.com/scrooloose/syntastic.git
-[submodule "janus-tools/tagbar"]
- path = janus-tools/tagbar
+[submodule "janus/tools/tagbar"]
+ path = janus/tools/tagbar
url = git://github.com/majutsushi/tagbar.git
-[submodule "janus-tools/nerdtree"]
- path = janus-tools/nerdtree
+[submodule "janus/tools/nerdtree"]
+ path = janus/tools/nerdtree
url = git://github.com/scrooloose/nerdtree.git
-[submodule "janus-langs/scss"]
- path = janus-langs/scss
- url = git://github.com/cakebaker/scss-syntax.vim.git
-[submodule "janus-tools/pep8"]
- path = janus-tools/pep8
+[submodule "janus/tools/pep8"]
+ path = janus/tools/pep8
url = git://github.com/jbking/vim-pep8.git
View
@@ -1,4 +1,4 @@
-ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__)))
+ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), 'janus'))
$: << File.join(ROOT_PATH, 'lib')
require 'janus'
@@ -9,7 +9,7 @@ task :link_vim_conf_files do
%w[ vimrc gvimrc ].each do |file|
dest = expand("~/.#{file}")
unless File.exist?(dest)
- ln_s(expand("../#{file}", __FILE__), dest)
+ ln_s(expand("../janus/#{file}", __FILE__), dest)
end
end
end
@@ -1,6 +0,0 @@
-install_vim_plugin "janus-core", "pathogen" do
- unless File.exists?("autoload/pathogen.vim")
- mkdir_p "autoload"
- ln_s "../janus-core/pathogen/autoload/pathogen.vim", "autoload/pathogen.vim"
- end
-end
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
+install_vim_plugin "core", "pathogen" do
+ unless File.exists?("autoload/pathogen.vim")
+ mkdir_p "autoload"
+ ln_s "../janus/core/pathogen/autoload/pathogen.vim", "autoload/pathogen.vim"
+ end
+end
View
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -4,7 +4,7 @@ module Janus
def self.included(base)
# Load all plugin installation tasks
- Dir["#{root_path}/janus-*/tasks/**.rake"].each do |f|
+ Dir["#{root_path}/*/tasks/**.rake"].each do |f|
base.send :import, f
end
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
-install_vim_plugin "janus-tools", "command-t" do
- Dir.chdir "#{root_path}/janus-tools/command-t/ruby/command-t" do
+install_vim_plugin "tools", "command-t" do
+ Dir.chdir "#{root_path}/tools/command-t/ruby/command-t" do
if File.exists?("/usr/bin/ruby1.8") # prefer 1.8 on *.deb systems
sh "/usr/bin/ruby1.8 extconf.rb"
elsif File.exists?("/usr/bin/ruby") # prefer system rubies
@@ -1,4 +1,4 @@
-install_vim_plugin "janus-tools", "hammer" do
+install_vim_plugin "tools", "hammer" do
install_gem 'github-markup'
install_gem 'redcarpet'
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -6,7 +6,7 @@
let g:janus_path = fnamemodify(resolve(expand("<sfile>:p")), ":h")
" Source janus
-source ~/.vim/lib/vim/janus.vim
+source ~/.vim/janus/lib/vim/janus.vim
""
"" Customisations
@@ -22,10 +22,11 @@ endif
" You should note that groups will be processed by Pathogen in reverse
" order they were added.
-call janus#add_group("janus-tools")
-call janus#add_group("janus-langs")
-call janus#add_group("janus-colors")
-call janus#add_group("janus-core")
+call janus#add_group("tools")
+call janus#add_group("langs")
+call janus#add_group("colors")
+call janus#add_group("custom")
+call janus#add_group("core")
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()

0 comments on commit cf96aac

Please sign in to comment.