Does anyone know how to quickly delete the entire function in vim (C and js functions, anyway, it’s curly braces {})?
V selects multiple lines to delete or counts the number of lines in the function and then Ndd, which is not convenient when the function is very long.
daB
You can delete the entire {} (including { and }) content