Permalink
Browse files

Updated all plugins that are non-forked. Added some new plugins.

Added update_plugins.py which can fetch new plugins from GitHub.

New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
  • Loading branch information...
1 parent 5731b3a commit 3f1cdba79985045b80508587a346472a75d6f913 amix committed Apr 13, 2013
Showing 1,057 changed files with 33,633 additions and 10,808 deletions.
View
@@ -0,0 +1,4 @@
+temp_dirs/undodir*
+sources_non_forked/ack.vim/.netrwhist
+temp_dirs/yankring_history_v2.txt
+my_configs.vim
View
@@ -257,6 +257,10 @@ Bash like keys for the command line:
cnoremap <C-P> <Up>
cnoremap <C-N> <Down>
+Write the file as sudo (only on Unix). [Vim tip](http://vim.wikia.com/wiki/Su-write):
+
+ :W
+
### Spell checking
Pressing `<leader>ss` will toggle and untoggle spell checking
@@ -0,0 +1,40 @@
+YRClear yankring.txt /*YRClear*
+YRClear-example yankring.txt /*YRClear-example*
+YRDeleteRange yankring.txt /*YRDeleteRange*
+YRGetElem yankring.txt /*YRGetElem*
+YRGetMultiple yankring.txt /*YRGetMultiple*
+YRGetMultiple-example yankring.txt /*YRGetMultiple-example*
+YRMapsCreate yankring.txt /*YRMapsCreate*
+YRMapsDelete yankring.txt /*YRMapsDelete*
+YRPaste yankring.txt /*YRPaste*
+YRPop yankring.txt /*YRPop*
+YRPop-example yankring.txt /*YRPop-example*
+YRPush yankring.txt /*YRPush*
+YRPush-example yankring.txt /*YRPush-example*
+YRReplace yankring.txt /*YRReplace*
+YRReplace-example yankring.txt /*YRReplace-example*
+YRSearch yankring.txt /*YRSearch*
+YRSearch-example yankring.txt /*YRSearch-example*
+YRShow yankring.txt /*YRShow*
+YRShow-example yankring.txt /*YRShow-example*
+YRToggle yankring.txt /*YRToggle*
+YRYankCount yankring.txt /*YRYankCount*
+YRYankRange yankring.txt /*YRYankRange*
+YRYankRange-example yankring.txt /*YRYankRange-example*
+any-item-example yankring.txt /*any-item-example*
+global-example yankring.txt /*global-example*
+multiple-items-example yankring.txt /*multiple-items-example*
+yankring yankring.txt /*yankring*
+yankring-commands yankring.txt /*yankring-commands*
+yankring-configure yankring.txt /*yankring-configure*
+yankring-contents yankring.txt /*yankring-contents*
+yankring-custom-maps yankring.txt /*yankring-custom-maps*
+yankring-description yankring.txt /*yankring-description*
+yankring-globals yankring.txt /*yankring-globals*
+yankring-history yankring.txt /*yankring-history*
+yankring-mappings yankring.txt /*yankring-mappings*
+yankring-tutorial yankring.txt /*yankring-tutorial*
+yankring-visual-example yankring.txt /*yankring-visual-example*
+yankring-window yankring.txt /*yankring-window*
+yankring-window-example yankring.txt /*yankring-window-example*
+yankring.txt yankring.txt /*yankring.txt*
@@ -0,0 +1 @@
+/doc/tags
@@ -0,0 +1,4 @@
+[submodule "docs"]
+ path = docs
+ url = git@github.com:mattn/zencoding-vim.git
+ branch = gh-pages
@@ -0,0 +1,11 @@
+all : zencoding-vim.zip
+
+remove-zip:
+ -rm doc/tags
+ -rm zencoding-vim.zip
+
+zencoding-vim.zip: remove-zip
+ zip -r zencoding-vim.zip autoload plugin doc
+
+release: zencoding-vim.zip
+ vimup update-script zencoding.vim
@@ -0,0 +1,103 @@
+# ZenCoding-vim
+
+[zencoding-vim](http://mattn.github.com/zencoding-vim) is vim script support for expanding abbreviation like zen-coding(emmet).
+
+## Installation
+
+[Download zip file](http://www.vim.org/scripts/script.php?script_id=2981):
+
+ cd ~/.vim
+ unzip zencoding-vim.zip
+
+If you install pathogen.vim:
+
+ cd ~/.vim/bundle # or make directory
+ unzip /path/to/zencoding-vim.zip
+
+If you get source from repository:
+
+ cd ~/.vim/bundle # or make directory
+ git clone http://github.com/mattn/zencoding-vim.git
+
+or:
+
+ git clone http://github.com/mattn/zencoding-vim.git
+ cd zencoding-vim
+ cp plugin/zencoding.vim ~/.vim/plugin/
+ cp autoload/zencoding.vim ~/.vim/autoload/
+ cp -a autoload/zencoding ~/.vim/autoload/
+
+
+## Quick Tutorial
+
+Open or create New File:
+
+ vim index.html
+
+Type ("_" is the cursor position):
+
+ html:5_
+
+Then type "<c-y>," (Ctrl + y + ','), you should see:
+
+ <!DOCTYPE HTML>
+ <html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title></title>
+ </head>
+ <body>
+ _
+ </body>
+ </html>
+
+[More Tutorials](https://raw.github.com/mattn/zencoding-vim/master/TUTORIAL)
+
+
+## Enable in different mode
+
+If you don't want enable zencoding in all mode,
+you can use set a option in `vimrc`:
+
+ let g:user_zen_mode='n' "only enable normal mode functions.
+ let g:user_zen_mode='inv' "enable all functions, which is equal to
+ let g:user_zen_mode='a' "enable all function in all mode.
+
+## Project Authors
+
+[Yasuhiro Matsumoto](http://mattn.kaoriya.net/)
+
+## Links
+
+### zen-coding official site:
+
+> <http://code.google.com/p/zen-coding/>
+
+### zencoding.vim:
+
+> <http://mattn.github.com/zencoding-vim>
+
+### development repository:
+
+> <https://github.com/mattn/zencoding-vim>
+
+### my blog posts about zencoding-vim:
+
+> <http://mattn.kaoriya.net/software/vim/20100222103327.htm>
+
+> <http://mattn.kaoriya.net/software/vim/20100306021632.htm>
+
+### japanese blog posts about zencoding-vim:
+
+> <http://d.hatena.ne.jp/idesaku/20100424/1272092255>
+
+> <http://d.hatena.ne.jp/griefworker/20110118/vim_zen_coding>
+
+> <http://d.hatena.ne.jp/sakurako_s/20110126/1295988873>
+
+> <http://looxu.blogspot.jp/2010/02/zencodingvimhtml.html>
+
+### tutorial traslated in chinese:
+
+> <http://www.zfanw.com/blog/zencoding-vim-tutorial-chinese.html>
+
No changes.
@@ -0,0 +1,212 @@
+Tutorial of zencoding.vim
+
+ mattn <mattn.jp@gmail.com>
+
+1. Expand Abbreviation
+
+ Type abbreviation as 'div>p#foo$*3>a' and type '<c-y>,'.
+ ---------------------
+ <div>
+ <p id="foo1">
+ <a href=""></a>
+ </p>
+ <p id="foo2">
+ <a href=""></a>
+ </p>
+ <p id="foo3">
+ <a href=""></a>
+ </p>
+ </div>
+ ---------------------
+
+2. Wrap with Abbreviation
+
+ Write as below.
+ ---------------------
+ test1
+ test2
+ test3
+ ---------------------
+ Then do visual select(line wize) and type '<c-y>,'.
+ If you request 'Tag:', then type 'ul>li*'.
+ ---------------------
+ <ul>
+ <li>test1</li>
+ <li>test2</li>
+ <li>test3</li>
+ </ul>
+ ---------------------
+
+ If you type tag as 'blockquote', then you'll see as following.
+ ---------------------
+ <blockquote>
+ test1
+ test2
+ test3
+ </blockquote>
+ ---------------------
+
+3. Balance Tag Inward
+
+ type '<c-y>d' in insert mode.
+
+4. Balance Tag Outward
+
+ type '<c-y>D' in insert mode.
+
+5. Go to Next Edit Point
+
+ type '<c-y>n' in insert mode.
+
+6. Go to Previous Edit Point
+
+ type '<c-y>N' in insert mode.
+
+7. Update <img> Size
+
+ Move cursor to img tag.
+ ---------------------
+ <img src="foo.png" />
+ ---------------------
+ Type '<c-y>i' on img tag
+ ---------------------
+ <img src="foo.png" width="32" height="48" />
+ ---------------------
+
+8. Merge Lines
+
+ select the lines included '<li>'
+ ---------------------
+ <ul>
+ <li class="list1"></li>
+ <li class="list2"></li>
+ <li class="list3"></li>
+ </ul>
+ ---------------------
+ and type '<c-y>m'
+ ---------------------
+ <ul>
+ <li class="list1"></li><li class="list2"></li><li class="list3"></li>
+ </ul>
+ ---------------------
+
+9. Remove Tag
+
+ Move cursor in block
+ ---------------------
+ <div class="foo">
+ <a>cursor is here</a>
+ </div>
+ ---------------------
+ Type '<c-y>k' in insert mode.
+ ---------------------
+ <div class="foo">
+
+ </div>
+ ---------------------
+
+ And type '<c-y>k' in there again.
+ ---------------------
+
+ ---------------------
+
+10. Split/Join Tag
+
+ Move cursor in block
+ ---------------------
+ <div class="foo">
+ cursor is here
+ </div>
+ ---------------------
+ Type '<c-y>j' in insert mode.
+ ---------------------
+ <div class="foo"/>
+ ---------------------
+
+ And type '<c-y>j' in there again.
+ ---------------------
+ <div class="foo">
+ </div>
+ ---------------------
+
+11. Toggle Comment
+
+ Move cursor to block
+ ---------------------
+ <div>
+ hello world
+ </div>
+ ---------------------
+ Type '<c-y>/' in insert mode.
+ ---------------------
+ <!-- <div>
+ hello world
+ </div> -->
+ ---------------------
+ Type '<c-y>/' in there again.
+ ---------------------
+ <div>
+ hello world
+ </div>
+ ---------------------
+
+12. Make anchor from URL
+
+ Move cursor to URL
+ ---------------------
+ http://www.google.com/
+ ---------------------
+ Type '<c-y>a'
+ ---------------------
+ <a href="http://www.google.com/">Google</a>
+ ---------------------
+
+13. Make quoted text from URL
+
+ Move cursor to URL
+ ---------------------
+ http://github.com/
+ ---------------------
+ Type '<c-y>A'
+ ---------------------
+ <blockquote class="quote">
+ <a href="http://github.com/">Secure source code hosting and collaborative development - GitHub</a><br />
+ <p>How does it work? Get up and running in seconds by forking a project, pushing an existing repository...</p>
+ <cite>http://github.com/</cite>
+ </blockquote>
+ ---------------------
+
+14. Installing zencoding.vim for language you using.
+
+ # cd ~/.vim
+ # unzip zencoding-vim.zip
+
+ or if you install pathogen.vim:
+
+ # cd ~/.vim/bundle # or make directory
+ # unzip /path/to/zencoding-vim.zip
+
+ if you get sources from repository:
+
+ # cd ~/.vim/bundle # or make directory
+ # git clone http://github.com/mattn/zencoding-vim.git
+
+15. Enable zencoding.vim for language you using.
+
+ You can customize the behavior of language you using.
+
+ ---------------------
+ # cat >> ~/.vimrc
+ let g:user_zen_settings = {
+ \ 'php' : {
+ \ 'extends' : 'html',
+ \ 'filters' : 'c',
+ \ },
+ \ 'xml' : {
+ \ 'extends' : 'html',
+ \ },
+ \ 'haml' : {
+ \ 'extends' : 'html',
+ \ },
+ \}
+ ---------------------
Oops, something went wrong.

0 comments on commit 3f1cdba

Please sign in to comment.