vimrc
Save the text as a file by name .vimrc and place it in your home directory. It would help you with the general PHP editing tasks
set nocompatible
"For Windows Users
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
set guifont=Courier_New
set nowrap
set nobackup
set expandtab
set shiftwidth=4
set tabstop=4
set softtabstop=4
filetype on
set guioptions+=b
set linebreak
set autoindent
set fdm=marker
set sm
"Change the path to the ctags utility
"For Linux, do "whereis ctags"
let Tlist_Ctags_Cmd="C:\Program Files\Vim\ctags\ctags.exe"
set lines=30
set columns=120
set hidden
set autowriteall
"For Windows Users
set autochdir
behave mswin
set diffexpr=MyDiff()
function MyDiff()
let opt = ''
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
silent execute '!C:\VIM\VIM62\diff -a ' . opt . '"' . v:fname_in . '" "' . v:fname_new . '" > "' . v:fname_out . '"'
endfunction
0 Comments:
Post a Comment
<< Home