2010-09-06 88 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 

保存這在捆綁一個新的命令,你應該準備好了。

相關問題