I realized that I use the same preamble across several files. These are mostly articles formatted in precisely the same --- headers, footers, margins, font, etc. Even the title page is formatted the same way --- contents change but the page structure remains the same.
My approach so far has been to copy paste from an earlier file. This works, but is not elegant.
Is there a better way? Some kind of a template file? So, I ask TeX to use the same template and everything is taken care of including the title page and TOC. Of course, I understand, I will need to provide title page details like author name, etc.
FWIW, I mostly use auctex on emacs. But have to use vim and co. occasionally.