병홍 2013. 2. 13. 17:06

set ai
set visualbell
set shiftwidth=4
set tabstop=4
set et
set cindent
set nu
syntax on
set history=100
set sm
set nobackup
"set mouse=a
set mousehide
set scrolloff=2
set hlsearch
set bs=indent,eol,start
set nocompatible               " be iMproved
set history=1000
set nows
set showmatch
set nobackup
set visualbell
set ruler
set textwidth=100


vmap <Tab> >gv
vmap <S-Tab> <gv

inoremap <ESC> <ESC>:set imdisable<CR>
nnoremap i :set noimd<CR>i
nnoremap I :set noimd<CR>I
nnoremap a :set noimd<CR>a
nnoremap A :set noimd<CR>A
nnoremap o :set noimd<CR>o
nnoremap O :set noimd<CR>O
nnoremap <silent> <F8> :Tlist <CR>
nnoremap <silent:
map <F2> v]}zf
map <F3> zo

filetype off                   " required!

    set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

    " let Vundle manage Vundle
    " required!
    Bundle 'gmarik/vundle'

    " My Bundles here:
    "
    " original repos on github
    Bundle 'tpope/vim-fugitive'
    Bundle 'Lokaltog/vim-easymotion'
    Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
    Bundle 'tpope/vim-rails.git'
    " vim-scripts repos
    Bundle 'L9'
    Bundle 'FuzzyFinder'
    " non github repos
    Bundle 'git://git.wincent.com/command-t.git'
    " ...

    filetype plugin indent on     " required!
    "
    " Brief help
    " :BundleList          - list configured bundles
    " :BundleInstall(!)    - install(update) bundles
    " :BundleSearch(!) foo - search(or refresh cache first) for foo
    " :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles
    "
    " see :h vundle for more details or wiki for FAQ
    " NOTE: comments after Bundle command are not allowed.
set encoding=utf-8
set fileencoding=utf-8
set termencoding=utf-8