Commits

Antoine Albertelli committed 6f0dff4

Added a "F5 to compile" option to vim

Comments (0)

Files changed (1)

 " Maps NERDTree to F2 "
 map <F2> :NERDTreeToggle<CR>
 
+" Maps F5 to pdflatex when opening a tex file. "
+au BufNewFile,BufRead *.tex map <F5> :! pdflatex % <CR>
+
 " Automatically opens NERDTree if vim is called without a filename "
 autocmd vimenter * if !argc() | NERDTree | endif