vim

#削除 Delete
:g/||/d
#置換 Replace
:%s/\n//g
#正規表現置換 Regex
:s /$\(.*\)/$form->{'\1'}/g

.vimrc

#set autoindent
set number
set ruler
set tabstop=4
set nowrap
set history=10000
set backup
set nobackup
syntax on
set virtualedit=all
set background=dark " we plan to use a dark background
set cpoptions=aABceFsmq
set backspace=indent,eol,start " make backspace a more flexible
set clipboard+=unnamed " share windows clipboard
set wildmenu " turn on command line completion wild style
set cursorcolumn " highlight the current column
set cursorline " highlight current line
set laststatus=2 " always show the status line
set showcmd " show the command being typed
set showmatch " show matching brackets
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]

php構文チェック php syntax check

set makeprg=php\ -l\ %
set errorformat=%m\ in\ %f\ on\ line\ %l

:make

clipboard

.vimrc

set number
set clipboard=unnamedplus
sudo apt-get install vim-gnome
    last modified: 22 July 2017 [ View wiki source Close ]
     
SEARCH DIFFERENCE ATTACHMENT RECENT POST