aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-28 17:36:50 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-28 17:36:50 +0900
commit7a8498fc55741528b213a5d342e08ed81e2ebcb0 (patch)
tree1de4f5c90b7f4b4567f758357127803e81a98d18 /README.md
parentdc3d6cfb44a8b2a60dcb252a3135b94809fa27cf (diff)
downloadvim-sonictemplate-7a8498fc55741528b213a5d342e08ed81e2ebcb0.tar.gz
vim-sonictemplate-7a8498fc55741528b213a5d342e08ed81e2ebcb0.tar.bz2
vim-sonictemplate-7a8498fc55741528b213a5d342e08ed81e2ebcb0.zip
Update README.md & Remove Makefile
Diffstat (limited to 'README.md')
-rw-r--r--README.md65
1 files changed, 65 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..bcf4c8c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,65 @@
+# sonictemplete-vim
+
+Easy and high speed coding method.
+
+## Template Completion
+
+![](https://raw.githubusercontent.com/mattn/sonictemplate-vim/master/screenshot1.gif)
+
+## Postfix Completion
+
+![](https://raw.githubusercontent.com/mattn/sonictemplate-vim/master/screenshot2.gif)
+
+## Basic Usage
+
+Open new file
+
+```sh
+vim foo.pl
+```
+
+```vim
+:Template <tab>
+```
+
+Then you can select `package` or `script` for perl filetype.
+
+```vim
+:Template package
+:Template script
+```
+
+Type `<enter>` in `script`, you can see following.
+
+```perl
+use strict;
+use warnings
+use utf8;
+
+_
+```
+
+And cursor is in `_`. If you open `lib/Foo.pm`, and type `<enter>` in `package`. You get following.
+
+```perl
+package Foo;
+use strict;
+use warnings
+use utf8;
+
+_
+
+1
+```
+
+
+If you open C++ file, you can select `main` for C.
+
+## License
+
+MIT
+
+## Author
+
+Yasuhiro Matsumoto `<mattn.jp@gmail.com>`
+