Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunarxlark/aws-cfn-snippet.vim
make vim snippets of AWS CloudFormation from official cfn's docs
https://github.com/lunarxlark/aws-cfn-snippet.vim
aws-cloudformation vim-snippets
Last synced: 3 months ago
JSON representation
make vim snippets of AWS CloudFormation from official cfn's docs
- Host: GitHub
- URL: https://github.com/lunarxlark/aws-cfn-snippet.vim
- Owner: lunarxlark
- Created: 2018-05-13T08:37:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T06:42:04.000Z (over 5 years ago)
- Last Synced: 2024-06-28T07:32:36.073Z (5 months ago)
- Topics: aws-cloudformation, vim-snippets
- Language: Shell
- Homepage:
- Size: 321 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aws-cfn-snippet.vim
## Make yaml and json snippet file for AWS CloudFormation.
you need [Shougo/neosnippet](https://github.com/Shougo/neosnippet.vim) Plugin.
check your snippet directory in vimrc.```bash:vimrc
let g:neosnippet#snippets_directory='~/.vim/snippets/'
```Add snip files(`yaml.snip, json.snip`) in your snippet file or directory.
```bash
cat yaml.snip >> ~/.vim/snippet/yaml.snip
cat json.snip >> ~/.vim/snippet/json.snip
```## Sample
![Sample1](./images/sample1.png)
![Sample2](./images/sample2.png)## Trouble shooting
Q. display `^### ${filetype^^}: bad substatution`
A. This regexp require bash 4.x later. So update your bash version.Q. display `sed: RE error: illegal byte sequence`
A. execute `export LC_ALL=C`