[TxMt] Default "Save As..." filename...
Brian Huddleston
binarynomad at gmail.com
Fri Oct 26 00:03:36 UTC 2007
Minor question/request,
When working with templates or new files to have Textmate
automatically adjust the default file name used when hitting SAVE to
something other than "untitled"?
For example, if I create a BASH template, and one of my fields is the
file/program name, I wanted to be able to either:
1) hit "apple-s" and have Textmate pull a possible default filename
from the area/field I had defined.
or
2) select text; hit "apple-s"; and have the text selection become
the default filename
#####################################################################
# Program: ${1:filename.sh} <---THIS IS WHAT IM TRYING TO AUTO-
CAPTURE TO THE SAVE DIALOG
#####################################################################
# Version: ${2:0.1}
# Date: ${3:`date`}
# Author: ${4:John Doe (jdoe at email.com)
#
# Notes:
# $5
#
#
#####################################################################
... <insert lots of code here> ...
----
Brian H
binarynomad at gmail.com
http://www.binarynomad.com
More information about the textmate
mailing list