TextMate

Insert date and time into Vim or Textmate documents

Thu Sep 20 12:23:36 PDT 2007

Tracked down an easy method to insert the current date (timestamp) into a Vim document:

:r !date

Producing:

Thu Sep 20 12:24:50 PDT 2007

http://princ3.wordpress.com/2007/08/27/insert-current-date-in-vim/

Should probably set up a single key command for that, maybe an F key.

Thu Sep 20 15:36:40 PDT 2007

Within TextMate, short of creating an internal command, the easiest way is to use the Text > Execute Line and Replace with Result and then using the /bin/date utility by simply typing date and then the ctrl-option-r shortcut

Two little tidbits: MarsEdit and TextMate

OK, since when could you column-select in MarsEdit? Open up a post to edit with some text in it. Move your cursor over the words: the usual text-selection bar. Now hold down Option, and crosshairs appear. Select at will.

It doesn’t seem to want to let you edit all of the selection as it does in, say, TextMate, so I wonder if it’s on purpose or not, or if it’s still to come. (See update below.)

The other thing I figured out is, while using the Edit in TextMate command (and this goes for any app enabled with that command), you can select a portion of the text field contents to edit, rather than bringing the entire block in. Handy for smaller edits.

Update: just noticed it in a Journler field as well, so I’m guessing it’s an artifact of new Cocoa text fields?

Screenbundle: Version 3 Released

Oliver Taylor has released an updated version of his unique screenwriting bundle for Textmate. Full info at “Screenbundle: Version 3 Released”.

Version 3 of the screenwriting bundle is out. The bundle is all new, it’s got a help file, a preview function, a ‘check for updates’ function, Auto-Complete, an ‘Import from Final Draft’ function that actually works, and a lot more.

Like Brad Choate’s Blogging bundle, the Screenbundle metamorphoses Textmate like a giant Transformer robot into a tool that most text editors can’t even pretend to aspire to — displaying both the app’s flexibility and the potential for all kinds of new directions. (Novel writing bundle anyone?)

"Lorem Ipsum" Generator

On lifehack.org, Free “Lorem Ipsum” Generator

Lipsum.org creates the infamous “Lorem ipsum dolor sit ame” text in a layout that you can dump directly into your document.

/me brings up TextMate. Types lorem then TAB.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Bwa hahah. ;)

Blogging from TextMate

Here I am enjoying the MarsEdit experience (once I got the kinks worked out) when I vaguely remembered being able to blog within TextMate, using a blogging bundle. Lo and behold:

“Blogging From TextMate”

In short the blogging bundle allows you to post, retrieve, and update entries. It can also preview entries before posting, upload images to your blog by dragging them into your document, etc.

Might just be worth a try.

Syndicate content