From 7a8498fc55741528b213a5d342e08ed81e2ebcb0 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 28 Jan 2020 17:36:50 +0900 Subject: Update README.md & Remove Makefile --- README.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 README.md (limited to 'README.md') 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 +``` + +Then you can select `package` or `script` for perl filetype. + +```vim +:Template package +:Template script +``` + +Type `` 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 `` 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 `` + -- cgit v1.2.3-54-g00ecf