aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-02-04 22:36:20 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-02-04 22:36:20 +0100
commitc8883537daa597f34d06a6d01e9c8ede263377aa (patch)
treeed69ff13be7ba2ee9619ec274e12f36e4e40e63d /vimrc
parent85fe61f24af337ba711189a474ec16d79173693d (diff)
vim yaml support
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