~/.vimrc
This colorized verison of my Vim configuration file is available for your convience.
The original file is available for download if you would like to use it.
" ----------------------------------------------------------------------
" file: ~/.vimrc
" author: moparx - https://moparx.com/configs
" date: 05/08/2013 - 18:12 EDT
" vim: set ai et fenc=utf-8 ft=vim nu si sts=0 sw=4 ts=8 tw=0 :
" ----------------------------------------------------------------------
" settings -------------------------------------------------------------
set nocompatible
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" scripts
Bundle 'ChrisYip/Better-CSS-Syntax-for-Vim'
Bundle 'ciaranm/securemodelines'
Bundle 'closetag.vim'
Bundle 'fholgado/minibufexpl.vim'
Bundle 'git://git.wincent.com/command-t.git'
Bundle 'kshenoy/vim-signature'
Bundle 'plasticboy/vim-markdown'
Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/syntastic'
Bundle 'Shougo/neocomplcache'
" color schemes
Bundle 'gregsexton/Muon'
Bundle 'Modeliner'
Bundle 'noahfrederick/Hemisu'
Bundle 'tomasr/molokai'
Bundle 'w0ng/vim-hybrid'
syntax on
filetype off
filetype plugin on
filetype indent on
set shell=/bin/zsh
set t_Co=256
colorscheme hybrid
if has('gui_running')
set guifont=Terminus\ (TTF)\ Medium\ 12
endif
let g:neocomplcache_enable_at_startup = 1
let g:Modeliner_format = 'fenc= tw= et ts= sts= sw= ft='
set autoindent
set backspace=indent,eol,start
set completeopt=longest,menuone
set cursorline
set esckeys
set expandtab
set foldenable
set foldmethod=marker
set history=40
set hlsearch
set ignorecase
set incsearch
set laststatus=2
set modeline
set mouse=a
set number
set pastetoggle=<F4>
set ruler
set scrolloff=3
set shiftwidth=4
set shortmess+=aI
set showcmd
set showmatch
set showmode
set smartindent
set smarttab
set viminfo=!,'30,<80,s100,h
set virtualedit=all
set wildchar=<TAB>
set wildmenu
set fillchars+=vert:│
set list
set list listchars=tab:▸\ ,trail:⋅,nbsp:⋅
set listchars+=extends:❯
set listchars+=precedes:❮
"set listchars+=trail:◥
" abbreviations and corrections ----------------------------------------
iab Tdate <C-R>=strftime("%m/%d/%Y - %T %Z")<CR>
" key mapping ----------------------------------------------------------
map th :tabprev<cr>
map tl :tabnext<cr>
map tn :tabnew<cr>
map tc :tabclose<cr>
map <F7> :VTreeExplore<CR>
map <F8> :TMiniBufExplorer<cr>
" set automatic behavior -----------------------------------------------
au BufNewFile,BufRead .followup,.article.*,.letter.*,/tmp/mutt-*,nn.*,snd.*,mutt* set tw=80
" automatically reload vimrc when it's saved
au BufWritePost .vimrc so ~/.vimrc