stupidenator 0 Junior Poster

Hi everyone,
I am having some trouble with my .vimrc file for the Vim editor. I copied the same file over from my school account on a red-hat linux over to my Ubuntu linux machine. I know I am saving it in the right location (the home directory) because another one will work. Is there something I am doing wrong here? I have included my .vimrc file below. Thank you,
Nick

set wm=8        " set wrapmargin
set nohls       " turn off highlight on search
set et          " turn on expand tab
"  colorscheme adjustments :hi lists the symbols and values for this
"colo evening    " change the colorscheme
" make the preprocessor stuff a lighter color
hi PreProc ctermfg=Yellow
hi Constant cterm=bold,underline ctermfg=White
" turn on comment continuation for C style comments
set fo+=r       " formatoptions r adds new comment line automagically
set com=s1:/*,mb:*,ex:*/        " only apply on C comments
"
" AUTO-COMMANDS
" for Makefiles
autocmd BufEnter ?akefile* set noet ts=8 sw=8 nocindent
" for source code
autocmd BufEnter *.cpp,*.h,*.c,*.java,*.pl set et ts=4 sw=4 cindent
" for grade files
autocmd BufEnter *.def set et ts=8 sw=8 wm=0 nocindent
" for html
autocmd BufEnter *.html set et ts=4 sw=4 wm=8 nocindent
"
" some abbreviations and mappings
ab teh the
ab tomarrow tomorrow
ab njn Nicholas J. Nisi
" starts a C++ program
map ^O o#include<iostream><CR>using namespace std;<CR>int main()<CR>{<CR>return 0;<CR>}<ESC>[[o
" creates class header
map ^P yypkiclass <ESC>o{<CR>private:<CR>public:<CR>};<ESC>jddkkp=$yy2pkA ( void );<ESC>jA ( const <ESC>JA & );<ESC>yypdwyypkdw$xxaoperator = <ESC>J

" starts a C program
"map ^P o#include<stdio.h><CR>#include<stdio.h><CR>int main()<CR>{<CR>return 0;<CR>}<ESC>[[o

runtime ftplugin/man.vim