YAML::Tidy .vimrc

" Type <leader>yt to tidy the whole buffer :noremap <leader>yt :%!yamltidy -<CR> " Visually select lines and type <leader>yt. " The first level of indentation spaces will be kept. :vnoremap <leader>yt :!yamltidy --partial -<CR>
Slide 37/46 BACK UP NEXT next: ( space / -> / page up ) | previous: ( backspace / <- / page down ) | next page: ( shift + page down ) | previous page: ( shift + page up ) | index: ( arrow-up )