【发布时间】:2010-09-09 02:25:50
【问题描述】:
你知道如何在 Textmate 中为同一个文件打开多个窗口吗?
所以我可以同时查看和比较同一文件的不同部分。
谢谢
【问题讨论】:
-
不是真正的编程问题。
标签: textmate
你知道如何在 Textmate 中为同一个文件打开多个窗口吗?
所以我可以同时查看和比较同一文件的不同部分。
谢谢
【问题讨论】:
标签: textmate
因此,一种方法是使用以下脚本滥用 TextMate 项目:
# we want to force TextMate to open up another window with the document
# if we leave out /dev/null here textmate will simply (re)activate the
# current document. So, while we get a project file with two items
# (the current document - which we wanted a new view of) and an
# empty file named "null", it's the easiest solution I know of
# WD-rpw 03-22-07
tof=` echo $TM_FILEPATH | sed 's/\.[^.]*$/*/' `
mate $tof /dev/null
将其保存在捆绑包中的新命令中,您应该可以开始使用了。
【讨论】: