[TxMt] Re: Smart Home Key

Hans-Jörg Bibiko bibiko at eva.mpg.de
Sat Dec 6 10:19:07 UTC 2008


On 06.12.2008, at 10:44, Oliver Taylor wrote:

>> On Fri Dec 5 19:54:25 Simon Strandgaard wrote:
>>
>>> Is there a way to bind the Home key in a way so that it behaves
>>> similar to UltraEdit?
>>

For HOME one could do this:

a tmcommand bound to HOME, no input, output to show tool tip, command:

if [ $TM_COLUMN_NUMBER -eq 1 ]; then
	open "txmt://open?line=1" &
else
	open "txmt://open?line=$TM_LINE_NUMBER&column=1" &
fi


Up to now I don't see chance to preserve the selection. Maybe via  
macros. With END the same way.

--Hans



More information about the textmate mailing list