/sonictemplate-vim

Easy and high speed coding method

Primary LanguageVim script

sonictemplete-vim

Easy and high speed coding method.

Template Completion

Postfix Completion

Basic Usage

Open new file

vim foo.pl
:Template <tab>

Then you can select package or script for perl filetype.

:Template package
:Template script

Type <enter> in script, you can see following.

use strict;
use warnings
use utf8;

_

And cursor is in _. If you open lib/Foo.pm, and type <enter> in package. You get following.

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>