From bd200bea18a56dba69dbf125d1cf0295724b7e49 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Wed, 19 Feb 2014 22:09:49 -0800 Subject: [PATCH] Remove submodules --- .gitmodules | 51 ------- vim/bundle/auto-compl-pop | 1 - vim/bundle/checksyntax | 1 - vim/bundle/coffee-script | 1 - vim/bundle/csapprox | 1 - vim/bundle/cute-python | 1 - vim/bundle/desert/colors | 1 - vim/bundle/fugitive | 1 - vim/bundle/html5 | 1 - vim/bundle/instant-markdown/CHANGELOG.md | 36 ----- vim/bundle/instant-markdown/README.md | 75 ---------- .../ftplugin/markdown/instant-markdown.vim | 135 ------------------ vim/bundle/jade | 1 - vim/bundle/mustache | 1 - vim/bundle/nerdtree | 1 - vim/bundle/scss-syntax | 1 - vim/bundle/stylus | 1 - vim/bundle/surround | 1 - vim/bundle/taglist | 1 - vim/bundle/wombat | 1 - 20 files changed, 313 deletions(-) delete mode 100644 .gitmodules delete mode 160000 vim/bundle/auto-compl-pop delete mode 160000 vim/bundle/checksyntax delete mode 160000 vim/bundle/coffee-script delete mode 160000 vim/bundle/csapprox delete mode 160000 vim/bundle/cute-python delete mode 160000 vim/bundle/desert/colors delete mode 160000 vim/bundle/fugitive delete mode 160000 vim/bundle/html5 delete mode 100644 vim/bundle/instant-markdown/CHANGELOG.md delete mode 100644 vim/bundle/instant-markdown/README.md delete mode 100644 vim/bundle/instant-markdown/after/ftplugin/markdown/instant-markdown.vim delete mode 160000 vim/bundle/jade delete mode 160000 vim/bundle/mustache delete mode 160000 vim/bundle/nerdtree delete mode 160000 vim/bundle/scss-syntax delete mode 160000 vim/bundle/stylus delete mode 160000 vim/bundle/surround delete mode 160000 vim/bundle/taglist delete mode 160000 vim/bundle/wombat diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 175d047..0000000 --- a/.gitmodules +++ /dev/null @@ -1,51 +0,0 @@ -[submodule "vim/bundle/wombat"] - path = vim/bundle/wombat - url = https://github.com/vim-scripts/Wombat.git -[submodule "vim/bundle/csapprox"] - path = vim/bundle/csapprox - url = https://github.com/vim-scripts/CSApprox.git -[submodule "vim/bundle/nerdtree"] - path = vim/bundle/nerdtree - url = https://github.com/scrooloose/nerdtree.git -[submodule "vim/bundle/fugitive"] - path = vim/bundle/fugitive - url = https://github.com/tpope/vim-fugitive.git -[submodule "vim/bundle/checksyntax"] - path = vim/bundle/checksyntax - url = git://github.com/tomtom/checksyntax_vim.git -[submodule "vim/bundle/auto-compl-pop"] - path = vim/bundle/auto-compl-pop - url = https://github.com/vim-scripts/AutoComplPop.git -[submodule "vim/bundle/mustache"] - path = vim/bundle/mustache - url = https://github.com/juvenn/mustache.vim.git -[submodule "vim/bundle/surround"] - path = vim/bundle/surround - url = https://github.com/tpope/vim-surround.git -[submodule "vim/bundle/html5"] - path = vim/bundle/html5 - url = https://github.com/othree/html5.vim.git -[submodule "vim/bundle/coffee-script"] - path = vim/bundle/coffee-script - url = https://github.com/kchmck/vim-coffee-script.git -[submodule "vim/bundle/instant-markdown"] - path = vim/bundle/instant-markdown - url = https://github.com/suan/vim-instant-markdown.git -[submodule "vim/bundle/stylus"] - path = vim/bundle/stylus - url = https://github.com/wavded/vim-stylus.git -[submodule "vim/bundle/jade"] - path = vim/bundle/jade - url = https://github.com/digitaltoad/vim-jade.git -[submodule "vim/bundle/desert/colors"] - path = vim/bundle/desert/colors - url = https://github.com/fugalh/desert.vim -[submodule "vim/bundle/taglist"] - path = vim/bundle/taglist - url = https://github.com/vim-scripts/taglist.vim.git -[submodule "vim/bundle/cute-python"] - path = vim/bundle/cute-python - url = https://github.com/ehamberg/vim-cute-python.git -[submodule "vim/bundle/scss-syntax"] - path = vim/bundle/scss-syntax - url = https://github.com/cakebaker/scss-syntax.vim.git diff --git a/vim/bundle/auto-compl-pop b/vim/bundle/auto-compl-pop deleted file mode 160000 index 0b075cf..0000000 --- a/vim/bundle/auto-compl-pop +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0b075cf5e6ef05584ef6377e116e8d0fe1f8f788 diff --git a/vim/bundle/checksyntax b/vim/bundle/checksyntax deleted file mode 160000 index 26ff38d..0000000 --- a/vim/bundle/checksyntax +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 26ff38d469fb4e3c304002c6cf9bad3abd57fdac diff --git a/vim/bundle/coffee-script b/vim/bundle/coffee-script deleted file mode 160000 index 18c6852..0000000 --- a/vim/bundle/coffee-script +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 18c68524ab8a043a566bbe227ea8f81ab922d092 diff --git a/vim/bundle/csapprox b/vim/bundle/csapprox deleted file mode 160000 index a295809..0000000 --- a/vim/bundle/csapprox +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a2958096696f9132ef0ece44b3fab93dac6df8d0 diff --git a/vim/bundle/cute-python b/vim/bundle/cute-python deleted file mode 160000 index 313a810..0000000 --- a/vim/bundle/cute-python +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 313a810d858b0e1b8e20e7435bb5f728fb042dd8 diff --git a/vim/bundle/desert/colors b/vim/bundle/desert/colors deleted file mode 160000 index 99eff93..0000000 --- a/vim/bundle/desert/colors +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 99eff93edbe98e25bd98a626e1d604d02c249e8c diff --git a/vim/bundle/fugitive b/vim/bundle/fugitive deleted file mode 160000 index 34e2d25..0000000 --- a/vim/bundle/fugitive +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 34e2d2538a634a0a820a56994333ffa1fec1bc58 diff --git a/vim/bundle/html5 b/vim/bundle/html5 deleted file mode 160000 index 53f6c95..0000000 --- a/vim/bundle/html5 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 53f6c95974f2f612e3ed677334af735d3727833f diff --git a/vim/bundle/instant-markdown/CHANGELOG.md b/vim/bundle/instant-markdown/CHANGELOG.md deleted file mode 100644 index ff84bb6..0000000 --- a/vim/bundle/instant-markdown/CHANGELOG.md +++ /dev/null @@ -1,36 +0,0 @@ -### 0.0.2 (03-27-2012) -All changes for this release were made in the backend. Do `[sudo] npm -g update instant-markdown-d` to get them. - -- Updated to the latest github styles! -- Performance should be slightly better as CSS is no longer generated at every update. - -### 0.0.3 (04-26-2012) -Some changes for this release were made in the backend. Do `[sudo] npm -g update instant-markdown-d` to get them. - -- Delay starting the `instant-markdown-d` server. This fixed the plugin for a few people who were getting empty browser windows. -- Display a message with configuration instructions when the preview window can't be closed due to Firefox restrictions. - -### 0.0.4 (12-05-2012) -All these changes courtesy of @chreekat, THANKS! - -- Is now an `after/ftplugin` plugin. Markdown filetype detection is left to Vim itself, or other plugins. -- Behavior when multiple markdown files are open has been improved -- No more weird characters taking over the status/command bar while editing -- Internals have been completely rewritten and are much more cleaner and adhere to vim script best practices - -### 0.0.5 (12-05-2012) -These changes are _also_ courtesy of @chreekat! - -- Plugin no longer breaks vim mouse scrolling -- No longer errors upon opening an empty markdown file -- `instant_markdown_slow` option to update preview less frequently - -### 0.0.6 (03-02-2013) -All changes for this release were made in the backend. Do `[sudo] npm -g update instant-markdown-d` to get them. - -- Fix for systems (such as Ubuntu, Debian) which use the `nodejs` executable instead of `node`. - -### 0.0.7 (10-31-2013) -thanks to @terryma! - -- Added option to only start previewing markdown on demand diff --git a/vim/bundle/instant-markdown/README.md b/vim/bundle/instant-markdown/README.md deleted file mode 100644 index f8ef928..0000000 --- a/vim/bundle/instant-markdown/README.md +++ /dev/null @@ -1,75 +0,0 @@ -vim-instant-markdown -==================== -Want to instantly preview finnicky markdown files, but don't want to leave your favorite editor, or have to do it in some crappy browser textarea? **vim-instant-markdown** is your friend! When you open a markdown file in vim, a browser window will open which shows the compiled markdown in real-time, and closes once you close the file in vim. - -As a bonus, [github-flavored-markdown][gfm] is supported, and styles used while previewing are the same as those github uses! - -[![Screenshot][ss]][ssbig] - -Installation ------------- -You first need to have Ruby with RubyGems, and node.js with npm installed. (In the future there might be a version which won't require node.js at all, making installation easier) - -- `[sudo] gem install pygments.rb` -- If you're using Ruby 1.9.2 or later, `[sudo] gem install redcarpet`. Otherwise, `[sudo] gem install redcarpet -v 2.3.0` -- `[sudo] npm -g install instant-markdown-d` -- If you're on Linux, the `xdg-utils` package needs to be installed (is installed by default on Ubuntu). -- Copy the `after/ftplugin/markdown/instant-markdown.vim` file from this repo into your `~/.vim/after/ftplugin/markdown/` (creating directories as necessary), or use pathogen. -- Ensure you have the line `filetype plugin on` in your `.vimrc` -- Open a markdown file in vim and enjoy! - -Configuration -------------- -### g:instant_markdown_slow - -By default, vim-instant-markdown will update the display in realtime. If that taxes your system too much, you can specify - -``` -let g:instant_markdown_slow = 1 -``` - -before loading the plugin (for example place that in your `~/.vimrc`). This will cause vim-instant-markdown to only refresh on the following events: - -- No keys have been pressed for a while -- A while after you leave insert mode -- You save the file being edited - -### g:instant_markdown_autostart -By default, vim-instant-markdown will automatically launch the preview window when you open a markdown file. If you want to manually control this behavior, you can specify - -``` -let g:instant_markdown_autostart = 0 -``` - -in your .vimrc. You can then manually trigger preview via the command ```:InstantMarkdownPreview```. This command is only available inside markdown buffers and when the autostart option is turned off. - -Supported Platforms -------------------- -OSX and Unix/Linuxes*. - -*: One annoyance in Linux is that there's no way to reliably open a browser page in the background, so you'll likely have to manually refocus your vim session everytime you open a Markdown file. If you have ideas on how to address this I'd love to know! - -FAQ ---- -> Why don't my `.md` files trigger this plugin? - -By default, vim (7.3 and above) only recognizes files ending with `.markdown`, `.mdown`, and `README.md` as markdown files. If you want `.md` to be recognized, I recommend installing one of many markdown plugins available, such as [this one][tpope-markdown]. - -> It's not working! - -- Make sure all the dependencies are installed... - - Make sure `instant-markdown-d` was installed as a global module (e.g. using `npm -g install`) - - Make sure the ruby gems were installed under your default Ruby (i.e. if you're using RVM, use `gem install` and NOT `sudo gem install` as that might cause the gems to be installed under a non-RVM Ruby) -- If you're on OSX, and are using zsh and rbenv/rvm... - - Make sure that Vim is using the correct version of ruby. From vim, if ```:!which ruby``` returns an unexpected ruby, then see here for a solution: https://github.com/dotphiles/dotzsh#mac-os-x. - - Another thing to try would be to add `set shell=bash\ -i` in your `.vimrc` to set interactive bash as the default vim shell. (See [this issue](http://github.com/suan/vim-instant-markdown/issues/41)) - -etc. ---- -If you're curious, the code for the mini-server component for this plugin can be found at http://github.com/suan/instant-markdown-d. A plugin can easily be written for any editor to interface with the server to get the same functionality found here. - - -[ss]: http://dl.dropbox.com/u/28956267/instant-markdown-demo_thumb.gif "Click for bigger preview" -[ssbig]: http://dl.dropbox.com/u/28956267/instant-markdown-demo.gif -[gfm]: http://github.github.com/github-flavored-markdown/ -[tpope-markdown]: https://github.com/tpope/vim-markdown diff --git a/vim/bundle/instant-markdown/after/ftplugin/markdown/instant-markdown.vim b/vim/bundle/instant-markdown/after/ftplugin/markdown/instant-markdown.vim deleted file mode 100644 index 1c96cb1..0000000 --- a/vim/bundle/instant-markdown/after/ftplugin/markdown/instant-markdown.vim +++ /dev/null @@ -1,135 +0,0 @@ -" # Configuration -if !exists('g:instant_markdown_slow') - let g:instant_markdown_slow = 0 -endif - -if !exists('g:instant_markdown_autostart') - let g:instant_markdown_autostart = 1 -endif - -" # Utility Functions -" Simple system wrapper that ignores empty second args -function! s:system(cmd, stdin) - if strlen(a:stdin) == 0 - call system(a:cmd) - else - call system(a:cmd, a:stdin) - endif -endfu - -function! s:refreshView() - let bufnr = expand('') - call s:system("curl -X PUT -T - http://localhost:8090/ &>/dev/null &", - \ s:bufGetContents(bufnr)) -endfu - -function! s:startDaemon(initialMD) - call s:system("instant-markdown-d &>/dev/null &", a:initialMD) -endfu - -function! s:initDict() - if !exists('s:buffers') - let s:buffers = {} - endif -endfu - -function! s:pushBuffer(bufnr) - call s:initDict() - let s:buffers[a:bufnr] = 1 -endfu - -function! s:popBuffer(bufnr) - call s:initDict() - call remove(s:buffers, a:bufnr) -endfu - -function! s:killDaemon() - call system("curl -s -X DELETE http://localhost:8090/ &>/dev/null &") -endfu - -function! s:bufGetContents(bufnr) - return join(getbufline(a:bufnr, 1, "$"), "\n") -endfu - -" I really, really hope there's a better way to do this. -fu! s:myBufNr() - return str2nr(expand('')) -endfu - -" # Functions called by autocmds -" -" ## push a new Markdown buffer into the system. -" -" 1. Track it so we know when to garbage collect the daemon -" 2. Start daemon if we're on the first MD buffer. -" 3. Initialize changedtickLast, possibly needlessly(?) -fu! s:pushMarkdown() - let bufnr = s:myBufNr() - call s:initDict() - if len(s:buffers) == 0 - call s:startDaemon(s:bufGetContents(bufnr)) - endif - call s:pushBuffer(bufnr) - let b:changedtickLast = b:changedtick -endfu - -" ## pop a Markdown buffer -" -" 1. Pop the buffer reference -" 2. Garbage collection -" * daemon -" * autocmds -fu! s:popMarkdown() - let bufnr = s:myBufNr() - silent au! instant-markdown * - call s:popBuffer(bufnr) - if len(s:buffers) == 0 - call s:killDaemon() - endif -endfu - -" ## Refresh if there's something new worth showing -" -" 'All things in moderation' -fu! s:temperedRefresh() - if !exists('b:changedtickLast') - let b:changedtickLast = b:changedtick - elseif b:changedtickLast != b:changedtick - let b:changedtickLast = b:changedtick - call s:refreshView() - endif -endfu - -fu! s:previewMarkdown() - call s:startDaemon(join(getline(1, '$'), "\n")) - aug instant-markdown - if g:instant_markdown_slow - au CursorHold,BufWrite,InsertLeave call s:temperedRefresh() - else - au CursorHold,CursorHoldI,CursorMoved,CursorMovedI call s:temperedRefresh() - endif - au BufWinLeave call s:cleanUp() - aug END -endfu - -fu! s:cleanUp() - call s:killDaemon() - au! instant-markdown * -endfu - -if g:instant_markdown_autostart - " # Define the autocmds " - aug instant-markdown - au! * - au BufEnter call s:refreshView() - if g:instant_markdown_slow - au CursorHold,BufWrite,InsertLeave call s:temperedRefresh() - else - au CursorHold,CursorHoldI,CursorMoved,CursorMovedI call s:temperedRefresh() - endif - au BufWinLeave call s:popMarkdown() - au BufwinEnter call s:pushMarkdown() - aug END -else - command! -buffer InstantMarkdownPreview call s:previewMarkdown() -endif diff --git a/vim/bundle/jade b/vim/bundle/jade deleted file mode 160000 index fb29347..0000000 --- a/vim/bundle/jade +++ /dev/null @@ -1 +0,0 @@ -Subproject commit fb29347a334758c47fb297a6fa1958f6480c15b3 diff --git a/vim/bundle/mustache b/vim/bundle/mustache deleted file mode 160000 index 0c3900b..0000000 --- a/vim/bundle/mustache +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0c3900b42a81ec79885cf984ad33b2280697c7c9 diff --git a/vim/bundle/nerdtree b/vim/bundle/nerdtree deleted file mode 160000 index b0bb781..0000000 --- a/vim/bundle/nerdtree +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b0bb781fc73ef40365e4c996a16f04368d64fc9d diff --git a/vim/bundle/scss-syntax b/vim/bundle/scss-syntax deleted file mode 160000 index 07a8b78..0000000 --- a/vim/bundle/scss-syntax +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 07a8b78a644d5f2abab7726a96c27180d330abcc diff --git a/vim/bundle/stylus b/vim/bundle/stylus deleted file mode 160000 index 046ccf1..0000000 --- a/vim/bundle/stylus +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 046ccf1d695029cb4aa3aa5cf6c67e56e4a644aa diff --git a/vim/bundle/surround b/vim/bundle/surround deleted file mode 160000 index 42e9b46..0000000 --- a/vim/bundle/surround +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 42e9b46e7a20a2f394664874c7bbd9d6f6c39e8a diff --git a/vim/bundle/taglist b/vim/bundle/taglist deleted file mode 160000 index 53041fb..0000000 --- a/vim/bundle/taglist +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 53041fbc45398a9af631a20657e109707a455339 diff --git a/vim/bundle/wombat b/vim/bundle/wombat deleted file mode 160000 index 600a27a..0000000 --- a/vim/bundle/wombat +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 600a27a126a32a1c7fd5d46727c2bb488d8e7465