vimrc

filetype off

""" Vundle '''
set rtp+=~/.vim/vundle/
call vundle#rc()
filetype plugin on

" 利用中のプラグインをBundle
Bundle 'cake.vim'
Bundle 'neocomplcache'
Bundle 'unite.vim'
Bundle 'surround.vim'
Bundle 'taglist.vim'
Bundle 'ZenCoding.vim'
Bundle 'ref.vim'
Bundle 'The-NERD-tree'
Bundle 'The-NERD-Commenter'

let g:unite_enable_start_insert=1
noremap <C-P> :Unite buffer<CR>
noremap <C-N> :Unite -buffer-name=file file<CR>
noremap <C-Z> :Unite file_mru<CR>
au FileType unite nnoremap <silent> <buffer> <expr> <C-J> unite#do_action('split')
au FileType unite inoremap <silent> <buffer> <expr> <C-J> unite#do_action('split')

au FileType unite nnoremap <silent> <buffer> <ESC><ESC> :q<CR>
au FileType unite inoremap <silent> <buffer> <ESC><ESC> <ESC>:q<CR>

set number
set list
set listchars=tab:>-,trail:-,eol:.,extends:>,precedes:<,nbsp:%