How to set new document type in TextMate?
Under Files in TextMate → Preferences… ) you can set “New document type” which is used by actions such as File → New(⌘N) and File → New Tab(⌥⌘N). If you wish to change the setting for a certain folder then you can use the properties system and set the fileTypesetting scoped to attr.untitled.
Is there a shortcut to create link in TextMate?
File browser’s context menu now show shortcut keys for most items, though most only work with focus in the file browser. Hint: ⌥⌘⇥ switches focus between file browser and text editor. With a file copied to the clipboard, it is now possible to “Create Link” in the file browser (via context menu): This creates a symbolic link to the file.
When does TextMate fall back on rename?
TextMate falls back on rename when exchangedata is unavailable. This require that all metadata of the old file be copied to the new one, but there is no way to preserve the inode, so hardlinks will break, furthermore, as this is effectively a completely new file, the date of its parent diretory will be updated.
How to open a folder in TextMate project?
When opening a folder, TextMate will treat the items within this folder as belonging to your project for actions such as Edit → Find → Find in Project… (⇧⌘F), File → Open Quickly… (⌘T), and many of the bundle commands, such as Bundles → TODO → Show TODO List(⌃⇧T), or any of the actions in the Bundles → SCMsubmenu.
How to make a link expandable in TextMate?
By default TextMate will not follow symbolic links or show them as expandable in the file browser, but this can be changed: File Browser: Enable “Show links as expandable” under Projects in TextMate → Preferences… Find in Project: Check “Symbolic Links to Folders” in the gear pop-up menu.
Can you create a symbolic link in TextMate?
If you need to include files in your project that exist outside the enclosing folder, you can create a symbolic link that points to your other files. By default TextMate will not follow symbolic links or show them as expandable in the file browser, but this can be changed: