Skip to content

Instantly share code, notes, and snippets.

@aka-apri
aka-apri / .vimrc
Created December 6, 2022 08:31 — forked from dragonken/.vimrc
YAML space indent for vim
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>
"https://vim.fandom.com/wiki/Moving_lines_up_or_down