Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Easiest way to create a new text file in a Finder window on OSX

On Windows in Explorer I can right click and e.g. create a text file.

On the mac when I right-click, I can create "new folder" but I can't create a text file. So I have to go find my text editor, do file new and create one, then navigate to where I want to save it: 5-10 steps instead of 1.

How can I just create a text file in a directory in Finder?

alt text

like on windows:

alt text

share|improve this question

marked as duplicate by Arjan, BinaryMisfit Nov 18 '10 at 6:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Everett's answer is a great solution. But note that you can reduce the 5-10 steps by opening the folder you want, opening the text editor, and when you save, drag the folder from Finder into the Save dialog box. It will then automatically navigate to that folder. – fideli Nov 17 '10 at 21:20
OSX: 1. Open the editor (new document is automatically generated, or if already open, create a new one) 3. Save and specify folder. Windows: 1. Specify folder 2. Create new file 3. Open the file. Exactly the same number of steps. You'd quickly get used to it if you tried. Also, you can drag&drop files and folders into open&save dialogs, which changes their location instead of moving them there. – Daniel Beck Nov 17 '10 at 21:21
Mind if I ask why you would do that? I don't see a use case right off. In any case, I'd just touch from the command line, but that is not what you asked for. – dmckee Nov 17 '10 at 21:21
the use case is just to "create any kind of file where you currently are", e.g. a word file or text file or excel file, and not have to go find the application, start it, save, then navigate back to where you want to create the file in the first place and save it there. – Edward Tanguay Nov 17 '10 at 21:27
This question is, "how do I get the same functionality out of OS X, that I have in Windows." The other question is the best practice for doing something in OS X. This question is about any file type, the other one is just about txt files. I recommend leaving this solution for search purposes. – Everett Nov 17 '10 at 21:57
up vote 3 down vote accepted

Not affiliated with the site, but this is a free solution.

What works for me is Launch bar. I hit command space, type txt, then hit enter and TextMate (or OS X's built in TextEditor) opens. I paste in, or type what I need to, and shift command S. I'm asked where I want to save my file. I don't see much difference between what I do, and navigating to where I want to put something, building an empty file there, and then open it with the software. Especially considering I can do my method without taking my hands off the keyboard to use the mouse at all. Also I can do this with any program, not just a text editor (Aperture, StarCraft2, Mail, PowerPoint, etc)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .