Last Updated: February 25, 2016·
Vim: Chef's attribute notation converter
Are you tired of typing thousands of brackets like
Here is the answer. You can convert
node[:foo][:bar] Vim easily.
You can use 3 styles of the Chef's attribute notation.
node[:mysql][:user] node["mysql"]["user"] node.mysql.user
It's pretty hard to type characters like
so the your little finger will must be broken.
Too much brackets!
Though you must hate this style, it's unavoidable probably.
However, you can convert
node[:foo][:bar] very easy if you're a Vimmer.
Please copy the code in the link below to your .vimrc.
After that, if you type
<C-y>x, you will get
Written by Tacahiroy
Vim syntax highlight for Cheffile
Have a fresh tip? Share with Coderwall community!
Post a tip
Best #Vim Authors
Sponsored by #native_company# — Learn More