Why would you try to open a directory in vim?
rm ./-rf
If you have some weird characters in the filename, you can also let your shell escape whatever character is problematic by using autocomplete, starting with './'
https://unix.stackexchange.com/questions/508267/using-tab-fo...