[TxMt] Re: "Go to last edit" keyboard shortcut

Dru Kepple dru at summitprojects.com
Wed Oct 28 15:35:11 UTC 2009


From: textmate-bounces+dru=summitprojects.com at lists.macromates.com [mailto:textmate-bounces+dru=summitprojects.com at lists.macromates.com] On Behalf Of Hans-Jörg Bibiko
Sent: Wednesday, October 28, 2009 7:43 AM


Or a bit faster is this tmCommand for MacOSX >= 10.5:

Input: none
Output: discard
Command:
cat <<-AS | osascript --
tell application "System Events"
  tell process "TextMate"
   tell menu bar 1
    tell menu bar item "Edit"
     tell menu "Edit"
      click menu item "Undo"
      click menu item "Redo"
     end tell
    end tell
   end tell
  end tell
end tell
AS


It won't be faster significantly if one pre-compliles it.


_______________________________________________






More information about the textmate mailing list