50

GitHub - mattn/sonictemplate-vim: Easy and high speed coding method

 6 years ago
source link: https://github.com/mattn/sonictemplate-vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.mkd

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 <[email protected]>


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK