2010-09-06 55 views

回答

1

所以一个这样做是滥用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 

保存这在捆绑一个新的命令,你应该准备好了。

相关问题