siyahsapka.org
Don't Learn to hack, hack to LEARN
Sayfalar
Home
Services
Articles
whoami
Saturday, May 30, 2020
Tuning vim for yaml file modifications
When
vi
detects that you are editing a YAML file, it performs a 2-space indentation when you press the
Tab
key and autoindents subsequent lines.
$HOME/.vimrc
file:
autocmd FileType yaml setlocal ai ts=2 sw=2 et
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment