Trouble adding HomeKit component

I’m having issues try to add Homekit component to my homeassistant. When I’m in terminal and run the (sudo vim configuration.yaml) command, this is what comes up:

When I chose edit, I still cannot add the HomeKit component. Any ideas?