aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 91c11fd..7d373a9 100644
--- a/vimrc
+++ b/vimrc
@@ -28,6 +28,10 @@ autocmd FileType rust setlocal ts=4 sw=4 expandtab
autocmd FileType rust set shiftwidth=4
autocmd FileType rust set softtabstop=4
+autocmd FileType yaml setlocal ts=2 sw=2 expandtab
+autocmd FileType yaml set shiftwidth=2
+autocmd FileType yaml set softtabstop=2
+
nnoremap <Enter> moO<Esc>`o
set autoindent