What's in your .vimrc file?
ccollins: Sorry about how long this is!! This is the culmination of about 1.5 years using VIM as my exclusive text editor for web development. When I started I was using PHP and now I'm using Ruby on Rails. If you have any general questions about VIM, specific questions about my .vimrc, or anything related, ask in the comments and I'll try to answer:set fo=tcqln ic nohls nu sc scs sm tm=200 wim=longest,list nonumberlet g:explDetailedList=1" store all of your vim swp files in one place, make sure this directory existsset backupdir=/Users/{YOUR_USERNAME}/vim_swpset directory=/Users/{YOUR_USERNAME}/vim_swpset bs=indent,eol,startset hlsearch" Use incremental searchingset incsearch" Set standard setting for PEAR coding standardsset tabstop=4set shiftwidth=4" Auto expand tabs to spacesset expandtab" Auto indent after a {set autoindentset smartindent" Linewidth to endlessset textwidth=0" Do not wrap lines automaticallyset wrap"  DO NOT Show line numbers by defaultset nonumber" Jump 5 lines when running out of the screenset scrolljump=5" Indicate jump out of the screen when 3 lines before end of the screenset scrolloff=3" Repair wired terminal/vim settingsset backspace=start,eol" This function determines, wether we are on the start of the line text (then tab indents) or" if we want to try autocompletionfunction InsertTabWrapper()    let col = col('.') - 1

    if !col || getline('.')[col - 1] !~ '\k'

        return "\<tab>"

    else

        return "\<c-p>"

    endif

endfunction" Remap the tab key to select action with InsertTabWrapperinoremap <tab> <c-r>=InsertTabWrapper()<cr>" set list" set listchars=tab:>-,trail:-" set listchars=tab:>-,trail:-,eol:$set ignorecase                  " caseinsensitive searchesset showmode                    " always show command or insert modeset ruler                      " show line and column informationset showmatch                  " show matching bracketsset formatoptions=tcqorset whichwrap=b,s,<,>,[,]syntax on" Added by chris" from http://items.sjbach.com/319/configuring-vim-rightset hiddenset history=1000nnoremap ' `nnoremap ` 'set smartcase   "is case sensitive only if there's a capital letterset title" enables matching if/elseif/else/etc., sort of worksruntime macros/matchit.vim"from http://blog.learnr.org/post/59098925/configuring-vim-some-mo...map H ^map L $" End Added by chrislet loaded_matchparen = 1nmap <F6> <ESC>:call LoadSession()<CR>let s:sessionloaded = 0function LoadSession()  source Session.vim

  let s:sessionloaded = 1

endfunctionfunction SaveSession()  if s:sessionloaded == 1

    mksession!

  end

endfunctionautocmd VimLeave * call SaveSession() "Reopen your session with 'vim -S 
Session.vim'