" autoload _vimrc autocmd! bufwritepost _vimrc source %
" disable VI's compatible mode.. set nocompatible " set encoding=utf-8 set fileencodings=ucs-bom,utf-8,gbk,default,latin1 " use chinese help set helplang=cn
"set gui options
if has("gui_running")
set guifont=Consolas:h9
endif
" Enable syntax highlight syntax enable " Show line number set nu " show matching bracets set showmatch " Basic editing options set expandtab set shiftwidth=2 au FileType html,python,vim,javascript setl shiftwidth=2 au FileType html,python,vim,javascript setl tabstop=2 au FileType java,php setl shiftwidth=4 au FileType java,php setl tabstop=4 set smarttab set lbr set tw=0 "Auto indent set ai " Smart indet set si " C-style indeting set cindent " Wrap lines set wrap
" set color schema colorscheme oceandeep
if has("gui_running")
set guifont=Consolas:h9
" set color schema
colorscheme oceandeep
endif
" Sets how many lines of history VIM har to remember set history=400 " Set to auto read when a file is changed from the outside set autoread " Have the mouse enabled all the time: set mouse=a " Do not redraw, when running macros.. lazyredraw set lz " set 7 lines to the curors - when moving vertical.. set so=7 " The commandbar is 2 high set cmdheight=2 " Change buffer - without saving set hid " Ignore case when searching " set ignorecase set incsearch " Set magic on set magic " No sound on errors. set noerrorbells set novisualbell set t_vb= " How many tenths of a second to blink set mat=4 " Highlight search things set hlsearch " Turn backup off set nobackup set nowb set noswapfile " smart backspace set backspace=start,indent,eol " switch buffers with Tab map <C-Tab> :bn<CR> map <S-Tab> :bp<CR>
" NERDTree map <F10> :NERDTreeToggle<CR>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Plugin configuration """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " taglist let Tlist_Auto_Highlight_Tag = 1 let Tlist_Auto_Open = 1 let Tlist_Auto_Update = 1 let Tlist_Close_On_Select = 0 let Tlist_Compact_Format = 0 let Tlist_Display_Prototype = 0 let Tlist_Display_Tag_Scope = 1 let Tlist_Enable_Fold_Column = 0 let Tlist_Exit_OnlyWindow = 0 let Tlist_File_Fold_Auto_Close = 0 let Tlist_GainFocus_On_ToggleOpen = 1 let Tlist_Hightlight_Tag_On_BufEnter = 1 let Tlist_Inc_Winwidth = 0 let Tlist_Max_Submenu_Items = 1 let Tlist_Max_Tag_Length = 30 let Tlist_Process_File_Always = 0 let Tlist_Show_Menu = 0 let Tlist_Show_One_File = 0 let Tlist_Sort_Type = "order" let Tlist_Use_Horiz_Window = 0 let Tlist_Use_Right_Window = 1 let Tlist_WinWidth = 40 let tlist_php_settings = 'php;c:class;i:interfaces;d:constant;f:function'
function! CheckSyntax() if &filetype!=”php” echohl WarningMsg | echo “Fail to check syntax! Please select the right file!” | echohl None return endif if &filetype==”php” ” Check php syntax setlocal makeprg=\”php\”\ -l\ -n\ -d\ html_errors=off ” Set shellpipe setlocal shellpipe=> ” Use error format for parsing PHP error output setlocal errorformat=%m\ in\ %f\ on\ line\ %l endif execute “silent make %” set makeprg=make execute “normal :” execute “copen” endfunction map <F6> :call CheckSyntax()<CR> “}}}
if &filetype!=“php” echohl WarningMsg | echo “Fail to check syntax! Please select the right file!” | echohl None return endif
<?php phpinfo()>>?>
<?php phpinfo()?>
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有