Is there a keyboard shortcut in TextMate to create a new, blank file in a project? Basically, it would do t开发者_高级运维he same thing as clicking the new file + icon at the bottom of the Project Drawer.
For TextMate 2, Alt + ⌘ Cmd + N will open a new file. Saving it will launch the new file dialog.
For TextMate, Shift+⌘ Cmd+N will launch the new file dialog, when you're in a project.
Before doing either, you may chose where to create the new file using the keyboard arrows and navigating through the directory tree. Use the shortcut when you are in the directory where you want the file to be created.
精彩评论