Index: /issm/trunk/externalpackages/vim/addons/vimrc
===================================================================
--- /issm/trunk/externalpackages/vim/addons/vimrc	(revision 7456)
+++ /issm/trunk/externalpackages/vim/addons/vimrc	(revision 7457)
@@ -95,4 +95,8 @@
 map num :set number!<CR>
 
+" save & "make" the current file in all modes
+map <F8> :w <Enter> :make <Enter>
+map! <F8>  <ESC> :w <Enter> :make <Enter>
+
 "use paste P: re-indent and re-format at the same time
 :nnoremap <Esc>P P'[v']=
@@ -145,4 +149,5 @@
 au BufRead,BufNewFile *.tex set formatoptions=cqt "automatic wraping
 au BufRead,BufNewFile *.tex set wrapmargin=0      "no margin
+au BufRead,BufNewFile *.cls setfiletype tex
 
 " OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
@@ -187,4 +192,6 @@
 au BufRead,BufNewFile *.html     iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
 au BufRead,BufNewFile *.html     iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
+au BufRead,BufNewFile *.html     iabbr <silent> CO <code></code><Left><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
+au BufRead,BufNewFile *.html     iabbr <silent> PP <p></p><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
 au BufRead,BufNewFile *.m        iabbr <silent> p1  disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
 au BufRead,BufNewFile *.m        iab <expr> p0  "disp('-------------- file: ".expand('%')." line: ".line(".")."');"
@@ -198,5 +205,4 @@
 au BufRead,BufNewFile *.tex iab EQ 
 			\\begin{equation}
-			\<CR>
 			\<CR>\end{equation}<up><C-R>=Eatchar('\s')<CR>
 au BufRead,BufNewFile *.tex ab (()) \left( \right)
