Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattn/vim-sonictemplate

Easy and high speed coding method
https://github.com/mattn/vim-sonictemplate

Last synced: 4 months ago
JSON representation

Easy and high speed coding method

Awesome Lists containing this project

README

        

# sonictemplate

Easy and high speed coding method.

## Template Completion

![](https://raw.githubusercontent.com/mattn/vim-sonictemplate/master/screenshot1.gif)

## Postfix Completion

![](https://raw.githubusercontent.com/mattn/vim-sonictemplate/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 ``