1

How can I find all file extensions that will use specific filetype (highlighting)?

For example I know that both ".xml" and ".xmi" files will by opened as "xml" filetype, however I would like to find what else.

1

Run vim

 vim

Redirect ex commands to the buffer a:

:redir @a

Print all of auto commands:

:au

Switch of redirecting:

:redir END

Paste the buffer a to text

"ap

Search for all occurrences of the setf xml.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.