If has ("Syntax ")
Syntax on
Endif
"If using a dark background within the editing area and syntax highlighting
"Turn on this option as well
"Set background = dark
"Uncomment the following to have Vim jump to the last position when
"Reopening a file
"If has (" autocmd ")
"Au bufreadpost * If line (" '\ "")> 1 & line ("' \" ") <= line (" $ ") | EXE" normal! G' \ "" | endif
"Endif
"Uncomment the following to have Vim load indentation rules and plugins
"According to the detected filetype.
"If has (" autocmd ")
"Filetype plugin indent on
"Endif
"The following are commented out as they cause Vim to behave a lot
"Differently from regular VI. They are highly recommended though.
Set AI
Set nu
Set number
Set showmatch
Set autoindent
Set cindent
Set noignorecase
Set ruler
Set scroloff = 5
Set tabstop = 3
Set shiftwidth = 3
Set wrap
Set showcmd "show (partial) command in status line.
Set showmatch "show matching brackets.
Set ignorecase "Do case insensitive matching
Set smartcase "do smart case matching
"Set incsearch" incremental search
"Set autowrite" automatically save before commands like: Next and: Make
"Set hidden" Hide buffers when they are abandoned
Set mouse = A "enable mouse usage (all modes)
Set smartindent
"Source a global configuration file if available
If filereadable ("/etc/Vim/vimrc. Local ")
Source/etc/Vim/vimrc. Local
Endif
Syntax enable
Syntax on