Li Guo:您好!OK 谢谢!有没有方法在已经用vi打开某一文件A的情况下,在vi中查找并打开查找到的文件列表 而不改变文件A的内容?谢谢!cmj
发件人: Li Guo发送时间: 2006-12-11 10:12:43收件人: chengmj@gionee.com抄送: mjxian; 杨红; jun yu; debian-chinese-gb@lists.debian.o主题: Re: Re: Re:问2个vim的问题Hi,
如果你想把文件读入到vim中再使用'gf'命令,你可以试试 :$r ! find [path] [_expression_]
On 12/8/06, chengmj@gionee.com < chengmj@gionee.com> wrote:HI,
In MS windows OS, I used VIM command (:! find "STATUS" *.h), and got the results on CMD window. So I could not jump to one file directly using the command "gf". Can anybody tell me how i can get the results in vim ?
Thanks in advance.Cmj
发件人: Li Guo发送时间: 2006-12-04 20:08:34收件人: mjxian抄送: 杨红; jun yu; debian-chinese-gb@lists.debian.o主题: Re: Re:问2个vim的问题进入VI,在控制模式输入"=G"试试
On 12/4/06, mjxian < mjxian@gmail.com> wrote:v进入可视模式,移动光标选定文本,按=缩进。
mjxian于2006-12-04发自 mjxian@gmail.com
以下为您的来信内容:发件人: 杨红发送时间: 2006-12-04 17:18:04收件人: jun yu主题: Re:问2个vim的问题在 2006-12-04一的 11:55 +0800,jun yu写道:> 我现在在linux下面用vim处理 html和php文件。>> 有两个问题不知道如何解决。>> 1、如何自动重排html和php的版面缩进?html 可以用 tidy 来进行缩进,相当于 indent 之于 c 代码。> 2、如何把vim和firefox一类的浏览器结合起来,以便在vim中快速定位,比如,> 我鼠标移动到某个图片或表格上,vim就能够自动把光标移动到相应的html的tag> 里。>> 有人知道吗?在个对写网站程序还是很有用的。--To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.orgwith a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org