Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
"set fdm=marker
"set imak=s-space
set modeline
set autoindent
set backspace=2
set formatoptions=tcql
set history=50
set hlsearch
set nobackup
set nowrap
set ruler
set shiftwidth=4
set shortmess+=I
set t_Sb=^[4%dm
set t_Sf=^[3%dm
set tabstop=4
set textwidth=2000
set title
set ttyfast
set ttymouse=xterm
set viminfo='20,\"50,n~/.vim/.viminfo
set mps+=<:>
" ステータスライン設定
set laststatus=2
set statusline=%<%f\ %m%r%h%w[%{&fileformat}][%{has('multi_byte')&&\ &fileencoding!=''?&fileencoding:&encoding}]\ 0x%B%=%l,%c\ %P
"set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
" 日本語設定
set fileencodings=iso-2022-jp-3,utf-8,sjis,cp932,japan
"set fileencodings=ucs-bom,ucs-2le,ucs-2,iso-2022-jp-3,utf-8,sjis,cp932,japan
set termencoding=euc-jp
"set encoding=japan
" キーマップ追加
nmap gsh :set t_te= t_ti=:sh:set t_te& t_ti&
map ,e :e =expand("%:p:h") . "/"
noremap g
syntax enable
filetype plugin on
" ファイルタイプ設定
autocmd! BufRead,BufNewFile *.inc set filetype=php
autocmd! BufRead,BufNewFile *.tpl set filetype=php
" man.vim プラグイン読み込み
source ~/.vim/ftplugin/man.vim " \K で画面分割して man の内容を表示
" autoupdate.vim 設定
let autodate_format = '%Y-%m-%d'
let b:autodate_keyword_pre = ''
let b:autodate_keyword_post = ''
nmap gd :set co=999 \| vert ba \| windo diffthis
nmap gD :windo set nodiff fdm=manual fdc=0 noscb