LoginSignup
5
0

More than 5 years have passed since last update.

CloudFormationのvim snippetを作ってみた

Last updated at Posted at 2018-05-13

AWSを触り始めて、CloudFormationのtemplateをvimで書きたかった。
けど、既にあるsnippetがしばらく更新されてないようなので公式docからコード部分を抜き出してsnipファイルにしました。

aws-cfn-snippet

ex) AWS ResourceのAWS::EC2で展開した時
sample1.png

ex) Resource PropertriesのStageDescriptionで展開した時
sample2.png

Shougo/neosnippet前提です。
vimのプラグインとしてインストールしてsnippetを読み込ませるやり方を知らないので、ひとまず手動でsnipファイルを配置してください。
vimrcに自前snippetファイルの場所を書いてそこにsnipを置くことでsnippetに追加されます。

5
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
0