So I decided to to go through Damian Conway's (a well known Perl programmer) .vimrc setup as a way to get more familiar with vim and how it works. His first line is this:
autocmd BufNewFile,BufRead *.t setfiletype perl
But there is no line like this in the file:
autocmd BufNewFile,BufRead *.pl setfiletype perl
the .vimrc file also does not have a
:filetype on command.
I'm curious to know: is there is some other method to get vim to automatically recognize what kind of file is getting worked on? Thanks.