How I'm able to take notes in mathematics lectures using LaTeX and Vim
I don't agree with this. Perhaps it's possible for someone with exceptional LaTeX and vim knowledge, but even after using both for 20 years I wouldn't do this.The point of the lecture is to assimilate structure and basic understanding, not to produce a neat set of notes instantly. To take notes to this detail means you're putting more time into the note taking than the work.Use a pen and paper. Write down structure as it happens. Write down things you understand, short hand. Write down things you don't for later review. After 2 hour long linear circuits lectures I regularly waltzed off with a couple of pages of loose A4 for review. A lot of the time, our lecturers would give us a copy of the OHP stack if we asked them as well.Write your notes up at the end of the day with reference material at hand and no compromises. You can structure, extrapolate and transform things into your own understandable language then.