-
-
Save falconws/1d1c90a48521ff3ac073d418eb182b7c to your computer and use it in GitHub Desktop.
YAML space indent for vim
This file contains hidden or 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 | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab | |
set is hlsearch ai ic scs | |
nnoremap <esc><esc> :nohls<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment