I often need to edit huge .yaml files, where I need to delete entire maps or arrays.
My current approach is to go into visual (line-wise) mode (Shift + V
) and mark the lines manually, but that feels cumbersome compared to editing HTML tags in Vim (e.g. dit
)
How can I efficiently delete .yaml elements in Vim?