php开发环境vim配置

2026-01-11 22:38:17

1、#语法高亮,tab转换为4个空格,基础设置,搜索高亮,递增搜索,主题设置,设置行号,文本编码,禁用鼠标

syntax on

set shiftwidth=4

set tabstop=4

set expandtab

set number

set autoindent

set selectmode=mouse

set cmdheight=2

set showmatch

set nobackup

set encoding=utf8

set noswapfile

set smarttab

set magic

set incsearch

set ignorecase

set hlsearch

set nowritebackup

set history=50

set ruler

set showcmd

set nolist

set showmatch

set notildeop

colo desert

set mouse=a

2、#检查PHP代码中是否有语法错误,使用快捷键ctrl+b

nmap <C-B> :!php -l %<cr>

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
相关推荐
  • 阅读量:107
  • 阅读量:60
  • 阅读量:136
  • 阅读量:21
  • 阅读量:80
  • 猜你喜欢