Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Notepad++, I created a file as a template. Every time I create a temporary file based on this template, I need to:

  • open the template file,
  • copy its contents,
  • open a new file, and
  • paste the contents

before I can begin to edit the temporary file.

I don't need to save the temporary file, so I will not copy the template file in Windows Explorer.

Is there a way to "Copy and Create" in Notepad++, to copy the contents of the template file to create a new file?

share|improve this question
1  
Sorry if I've misunderstood you question. But if you don't need to save the copy of the file. Couldn't you just set the template file to Read Only? –  Dracs Apr 11 '13 at 3:43
    
That's a good idea, Dracs. So that I can modify directly the template instead of copy it first. But when I create two files at the same time from one template, I need to copy from it anyway. –  ning Apr 12 '13 at 2:07
    
Ah, fair enough. Didn't consider needing more than one copy of the template at once. –  Dracs Apr 12 '13 at 2:27
add comment

1 Answer

Looks like there is a plugin called NewFileBrowser that will allow you to create up to two templates. There is a review of it here

There is also a Snippet Plugin that you could use to duplicate your template functionality. Simply create a snippet for each template that you want and then when you create a new file apply the desired snippet to the blank page.

share|improve this answer
    
Thank you for the link. However I have 30+ templates for different tasks. The plugin limits the templates to 2. –  ning Apr 12 '13 at 2:04
    
@ning updated answer with another option. –  Brad Patton Apr 12 '13 at 18:24
    
Thank you for suggesting the Snippet Plugin. It's for coding, and I will confirm how to make it fit in my usage. Thank you. –  ning Apr 16 '13 at 3:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.