".vimrc file by Ash for aero361 2/6/03 " save this file in your $HOME dir as .vimrc " Comment lines should precede by " (double quotes) " Basic options frol user friendly vi setting have been set below " Please modify as you get comfortable.a " It is subject to revisions and improvements " SWAP FILE ALERT !! " when this happens, it usually means that your editor crashed " to recover the file type " vi -r filename "set nocompatible set backup " keep a backup file set viminfo='20,\"50 " read/write a .viminfo file, don't store more " than 50 lines of registers set history=50 " keep 50 lines of command line history set ruler " show the cursor position all the time set nu set bs=2 " always backspace set fo=cqrt " smart formatting of comments set hlsearch " Highlihting the last used search pattern set shiftwidth=4 set tabstop=8 set smarttab set smartindent " Indent in smart fashion set autoindent set sm " automatic matching braces set mouse=a " Use the mouse in all modes set mousemodel=popup " Turn on the popup menu set mousefocus " Use the mouse to focus windows set mousehide " Hide the mouse cursor when the user types set selectmode=mouse,key,cmd " Use both mouse and shift keys to select set pastetoggle= if has("syntax") syntax on " Syntax highlighting off endif set smartindent " Indent in smart fashion set sm " automatic matching braces " set sm ---> switch on brace matching " set nosm ---> switch off brace matching set wildmenu " Wild menu option is on set showmode set showcmd set wrapmargin=10 "set dir=~/vi_swap " swap directory :let fortran_have_tabs=1 :let fortran_free_source=1