Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- set history=50
- set ignorecase
- set notitle
- set wrapscan
- set number
- set ruler
- set nolist
- set showcmd
- set showmatch
- set laststatus=2
- set backspace=indent,eol,start
- set shiftwidth=2
- set softtabstop=0
- set backup
- "set encoding=euc-jp
- set encoding=utf-8
- "set fileencodings=euc-jp
- set fileencodings=utf-8,euc-jp,ucs-2le,ucs-2,cp932
- set incsearch
- set hlsearch
- set modelines=10
- set nolist
- set tabstop=2
- set expandtab
- set autoindent
- set backupdir=/Users/kyagi/backup
- set backupext=.bak
- set undolevels=100
- let &directory = &backupdir
- let g:neocomplcache_enable_at_startup = 1
- filetype plugin on
- filetype indent on
- function AC_Brackets()
- inoremap { {}<LEFT>
- inoremap [ []<LEFT>
- inoremap ( ()<LEFT>
- inoremap " ""<LEFT>
- inoremap ' ''<LEFT>
- endfunction
- if has("autocmd")
- autocmd FileType php call AC_Brackets()
- autocmd FileType c call AC_Brackets()
- autocmd FileType cpp call AC_Brackets()
- autocmd FileType javascript call AC_Brackets()
- autocmd FileType perl call AC_Brackets()
- autocmd FileType ruby call AC_Brackets()
- endif
- imap jj <ESC>
- nmap j gj
- nmap k gk
- vmap j gj
- vmap k gk
Add Comment
Please, Sign In to add comment