1、ag.vim(查找工具)安装
在vimrc中添加
Plug 'rking/ag.vim'
使用
:Ag 你要查找的内容
e open file and close the quickfix window.
o open file (same as enter).
go preview file (open but maintain focus on ag.vim results).
t open in a new tab.
T open in new tab silently.
h open in horizontal split.
H open in horizontal split silently.
v open in vertical split.
gv open in vertical split silently.
q close the quickfix window.
2、far.vim安装
在vimrc中添加
Plug 'brooth/far.vim'
使用
:Far 被替换的内容 要替换内容 **/*.php
f 表示替换/不替换
:Fardo(开始执行)