To run an autocommand on a python file I can do:
:autocmd FileType python nnoremap ...
However, what 'event' does this run on? Is the event
FileType or is
Filetype python basically doing a replacement for
*.py ? I would assume it's the former but I just wanted to understand the difference (if any) between doing the following two commands:
:autocmd FileType python nnoremap ... :autocmd FileType *.py nnoremap ...