Last active
February 25, 2024 03:49
-
-
Save nklkarthi/467918c9cd0751cf602ba3bebfbb2b66 to your computer and use it in GitHub Desktop.
Vim yaml settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
filetype plugin indent on | |
"Get the 2-space YAML as the default when hit carriage return after the colon, set cursor column and auto indent | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 et cuc nu ai |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment