From d314aac8e5226f78024869e7f3db31fb7a8f5fac Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 3 Mar 2010 18:32:42 +0900 Subject: [PATCH] add README --- README | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..52e7ba0 --- /dev/null +++ b/README @@ -0,0 +1,103 @@ +Tutorial of zencoding.vim + + mattn + +1. Expand Abbreviation + + Type abbreviation as 'div>p#foo$*3>a' and type ','. + --------------------- +
+

+ +

+

+ +

+

+ +

+
+ --------------------- + +2. Wrap with Abbreviation + + Write as below. + --------------------- + test1 + test2 + test3 + --------------------- + Then do visual select(line wize) and type ','. + If you request 'Tag:', then type 'ul>li*'. + --------------------- +
    +
  • test1
  • +
  • test2
  • +
  • test3
  • +
+ --------------------- + + If you type tag as 'blockquote', then you'll see as following. + --------------------- +
+ test1 + test2 + test3 +
+ --------------------- + +3. Balance Tag Inward + + use surround.vim and type 'vit' + + +4. Balance Tag Outward + + use surrond.vim and type 'vat' + +5. Go to Next + + type 'n' in insert mode. + +6. Previous Edit Point + + type 'N' in insert mode. + +7. Update Size + + (1) :!start explorer + (2) right click the file. + (3) check the image size. + (4) add the size of img tag. + +8. Merge Lines + + select the lines included '
  • ' + --------------------- +
      +
    • +
    • +
    • +
    + --------------------- + and type 'J' + --------------------- +
      +
    • +
    • +
    • +
    + --------------------- + +9. Remove Tag + + under construction + +10. Split/Join Tag + + under construction + +11. Toggle Comment + + under construction +