Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.29 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.29 KB

terraform-snippets.vim

This is vim snippets for Terraform inspired by serverspec-snippets.

Install

Neobundle

  1. Setup the neobundle package manager
  2. Set the bundles for itamae-snippets
NeoBundle 'tacahilo/itamae-snippets'
  1. Open up Vim and start installation with :NeoBundleInstall

Vundle

  1. Setup the vundle package manager
  2. Set the bundles for itamae-snippets
Bundle 'tacahilo/itamae-snippets'
  1. Open up Vim and start installation with :BundleInstall

Setup

Set itamae-snippets directory(~/.vim/bundle/terraform-snippets.vim) in your .vimrc.

" setting example
let g:neosnippet#snippets_directory = [
      \'~/.vim/snippets',
      \'~/.vim/bundle/terraform-snippets.vim',
      \]

Usage

open *.tf files and set filetype terraform

:set ft=terraform

or terraform plugins:

License

Lcense: Same terms as Vim itself (see license)